@@ -22,6 +22,11 @@ config BR2_PACKAGE_PPPD_RADIUS
help
Install RADIUS support for pppd
+config BR2_PACKAGE_PPPD_PON_POFF
+ bool "pon poff scripts"
+ help
+ Install pon and poff scripts.
+
endif
comment "pppd needs a toolchain w/ dynamic library"
@@ -75,6 +75,13 @@ define PPPD_INSTALL_RADIUS
endef
endif
+ifeq ($(BR2_PACKAGE_PPPD_PON_POFF),y)
+define PPPD_INSTALL_PON_POFF
+ $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/pon $(TARGET_DIR)/usr/bin/pon
+ $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/poff $(TARGET_DIR)/usr/bin/poff
+endef
+endif
+
define PPPD_INSTALL_TARGET_CMDS
for sbin in $(PPPD_TARGET_BINS); do \
$(INSTALL) -D $(PPPD_DIR)/$$sbin/$$sbin \
@@ -99,6 +106,7 @@ define PPPD_INSTALL_TARGET_CMDS
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/pppol2tp.so \
$(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppol2tp.so
$(PPPD_INSTALL_RADIUS)
+ $(PPPD_INSTALL_PON_POFF)
endef
define PPPD_INSTALL_STAGING_CMDS
Config option for installing pon and poff scritps. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> --- package/pppd/Config.in | 5 +++++ package/pppd/pppd.mk | 8 ++++++++ 2 files changed, 13 insertions(+)