diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 12:32:17 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:23:56 +0200 |
commit | 7b94acf37c33fa96d33aa2203189f0d4174cecb4 (patch) | |
tree | fb6550db462c38c38f1d82020462f2c75a3b7c97 /rules/at.make | |
parent | 65cb061362479b46444ae4e4707a18053139c863 (diff) | |
download | ptxdist-7b94acf37c33fa96d33aa2203189f0d4174cecb4.tar.gz ptxdist-7b94acf37c33fa96d33aa2203189f0d4174cecb4.tar.xz |
[at] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/at.make')
-rw-r--r-- | rules/at.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/at.make b/rules/at.make index a800d05e6..b2dba2a01 100644 --- a/rules/at.make +++ b/rules/at.make @@ -81,6 +81,12 @@ $(STATEDIR)/at.targetinstall: ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_AT_STARTSCRIPT @$(call install_alternative, at, 0, 0, 0755, /etc/init.d/atd) + +ifneq ($(call remove_quotes, $(PTXCONF_AT_BBINIT_LINK)),) + @$(call install_link, at, \ + ../init.d/atd, \ + /etc/rc.d/$(PTXCONF_AT_BBINIT_LINK)) +endif endif endif |