diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 15:27:33 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:24:01 +0200 |
commit | 18321b4f55005bce7a15127fcf2ede727c322cad (patch) | |
tree | 6840f24b569fb480b9b2a8d123e69b3ab486c266 /rules/rc-once.make | |
parent | 0c8885e73a668ccbb425d7579b607e4c1630a821 (diff) | |
download | ptxdist-18321b4f55005bce7a15127fcf2ede727c322cad.tar.gz ptxdist-18321b4f55005bce7a15127fcf2ede727c322cad.tar.xz |
[rc-once] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/rc-once.make')
-rw-r--r-- | rules/rc-once.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/rc-once.make b/rules/rc-once.make index e91a2fcce..4acbcb836 100644 --- a/rules/rc-once.make +++ b/rules/rc-once.make @@ -66,6 +66,12 @@ $(STATEDIR)/rc-once.targetinstall: @$(call install_alternative, rc-once, 0, 0, 0755, /etc/init.d/rc-once) +ifneq ($(call remove_quotes,$(PTXCONF_RC_ONCE_BBINIT_LINK)),) + @$(call install_link, rc-once, \ + ../init.d/rc-once, \ + /etc/rc.d/$(PTXCONF_RC_ONCE_BBINIT_LINK)) +endif + @$(call install_copy, rc-once, 0, 0, 0755, /etc/rc.once.d) @$(call install_copy, rc-once, 0, 0, 0755, /etc/rc.once.d/.done) |