summaryrefslogtreecommitdiffstats
path: root/rules/ppp.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-26 14:29:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-27 15:23:58 +0200
commit65c208166131c822d4eef6c9152dbef34eec504e (patch)
treecf6e5c5622c7f11fd60be2f20477376219ff3068 /rules/ppp.make
parentb3e35cfe505a0cde32086940943c27125a4014d2 (diff)
downloadptxdist-65c208166131c822d4eef6c9152dbef34eec504e.tar.gz
ptxdist-65c208166131c822d4eef6c9152dbef34eec504e.tar.xz
[ppp] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ppp.make')
-rw-r--r--rules/ppp.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/ppp.make b/rules/ppp.make
index 24f6f656c..591bb3613 100644
--- a/rules/ppp.make
+++ b/rules/ppp.make
@@ -181,6 +181,12 @@ ifdef PTXCONF_PPP_STARTSCRIPT
@$(call install_alternative, ppp, 0, 0, 0755, /etc/init.d/pppd)
@$(call install_replace, ppp, /etc/init.d/pppd, \
@PPPD_INTF@, $(PTXCONF_PPPD_INTF))
+
+ifneq ($(call remove_quotes,$(PTXCONF_PPPD_BBINIT_LINK)),)
+ @$(call install_link, ppp, \
+ ../init.d/pppd, \
+ /etc/rc.d/$(PTXCONF_PPPD_BBINIT_LINK))
+endif
endif
endif