From: Carsten Schlote <c.schl...@konzeptpark.de>

Added the plog and pppoe-discovery tools
as install option.

Added install_copy for plog. pppoe-discovery
install code was already there, but no config.

Signed-off-by: Carsten Schlote <c.schl...@konzeptpark.de>

Conflicts:

        rules/ppp.make
---
 rules/ppp.in   |   18 ++++++++++++++++--
 rules/ppp.make |    5 +++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/rules/ppp.in b/rules/ppp.in
index 827d500..4258577 100644
--- a/rules/ppp.in
+++ b/rules/ppp.in
@@ -202,9 +202,23 @@ config PPP_INST_PPPSTATS
          intervals for a specified PPP interface.
 
 config PPP_INST_PONOFF
-       bool "install pon/poff"
+       bool "Install pon, poff scripts"
        help
-         FIXME
+         Install pon and poff utils to start and stop a PPP connection
+
+config PPP_INST_PLOG
+       bool "Install plog script"
+       help
+         Install plog util to monitor PPP logs
+
+config PPP_PLUGIN_RP_PPPOE_DISCOVERY
+       bool "Install pppoe-discovery"
+       select PPP_PLUGINS
+       select PPP_OE
+       help
+         Added pppoe-discovery tools to use PPP e.g. with DSL
+
+comment "startup options"
 
 config PPP_STARTSCRIPT
        bool
diff --git a/rules/ppp.make b/rules/ppp.make
index 046175f..01044a0 100644
--- a/rules/ppp.make
+++ b/rules/ppp.make
@@ -200,6 +200,11 @@ ifdef PTXCONF_PPP_INST_PONOFF
        @$(call install_alternative, ppp, 0, 0, 0755, /usr/bin/poff)
 endif
 
+ifdef PTXCONF_PPP_INST_PLOG
+       @$(call install_copy, ppp, 0, 0, 0755, \
+               $(PPP_DIR)/scripts/plog, /usr/sbin/plog)
+endif
+
 ifdef PTXCONF_PPP_PLUGINS
        @$(call install_copy, ppp, 0, 0, 0755, $(PPP_SHARED_INST_PATH))
 endif
-- 
1.6.5.6.gb3118


--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to