summaryrefslogtreecommitdiffstats
path: root/rules/dropbear.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-26 14:03:24 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-27 15:23:57 +0200
commit42c0c83ac208b5989cf730c2c12a6fd96227ce4c (patch)
treeb3a13b4eb98aca4c8c9feb3b308db7b782ff471e /rules/dropbear.make
parentee6703e5def20e023399c6e4feece637fd17e64c (diff)
downloadptxdist-42c0c83ac208b5989cf730c2c12a6fd96227ce4c.tar.gz
ptxdist-42c0c83ac208b5989cf730c2c12a6fd96227ce4c.tar.xz
[dropbear] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/dropbear.make')
-rw-r--r--rules/dropbear.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/dropbear.make b/rules/dropbear.make
index 62c569ff8..2ca3c6cee 100644
--- a/rules/dropbear.make
+++ b/rules/dropbear.make
@@ -282,6 +282,12 @@ ifdef PTXCONF_DROPBEAR_STARTSCRIPT
@$(call install_alternative, dropbear, 0, 0, 0755, /etc/rc.once.d/dropbear, n)
@$(call install_replace, dropbear, /etc/rc.once.d/dropbear, \
@KEYDIR@, $(PTXCONF_DROPBEAR_KEY_DIR))
+
+ifneq ($(call remove_quotes,$(PTXCONF_DROPBEAR_BBINIT_LINK)),)
+ @$(call install_link, dropbear, \
+ ../init.d/dropbear, \
+ /etc/rc.d/$(PTXCONF_DROPBEAR_BBINIT_LINK))
+endif
endif
endif