diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 14:03:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:23:57 +0200 |
commit | 42c0c83ac208b5989cf730c2c12a6fd96227ce4c (patch) | |
tree | b3a13b4eb98aca4c8c9feb3b308db7b782ff471e /rules/dropbear.make | |
parent | ee6703e5def20e023399c6e4feece637fd17e64c (diff) | |
download | ptxdist-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.make | 6 |
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 |