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 | |
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>
-rw-r--r-- | rules/at-bbinit.in | 8 | ||||
-rw-r--r-- | rules/at.make | 6 | ||||
-rw-r--r-- | rules/initmethod-bbinit.in | 6 | ||||
-rw-r--r-- | rules/initmethod-bbinit.make | 6 |
4 files changed, 14 insertions, 12 deletions
diff --git a/rules/at-bbinit.in b/rules/at-bbinit.in new file mode 100644 index 000000000..f4cec2a8e --- /dev/null +++ b/rules/at-bbinit.in @@ -0,0 +1,8 @@ +## SECTION=initmethod_bbinit + +config AT_BBINIT_LINK + string + depends on AT_STARTSCRIPT + prompt "atd" + default "S90atd" + 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 diff --git a/rules/initmethod-bbinit.in b/rules/initmethod-bbinit.in index 88b390505..71eac2d4e 100644 --- a/rules/initmethod-bbinit.in +++ b/rules/initmethod-bbinit.in @@ -59,12 +59,6 @@ menu "service startup configuration " source "generated/initmethod_bbinit.in" -config INITMETHOD_BBINIT_LINK_AT - string - depends on AT_STARTSCRIPT - prompt "atd" - default "S90atd" - config INITMETHOD_BBINIT_LINK_CHRONY string depends on CHRONY_STARTSCRIPT diff --git a/rules/initmethod-bbinit.make b/rules/initmethod-bbinit.make index eec82cf74..2d2f9536f 100644 --- a/rules/initmethod-bbinit.make +++ b/rules/initmethod-bbinit.make @@ -137,12 +137,6 @@ endif # # collect start links # # -ifneq ($(call remove_quotes, $(PTXCONF_INITMETHOD_BBINIT_LINK_AT)),) - @$(call install_link, initmethod-bbinit, \ - ../init.d/atd, \ - /etc/rc.d/$(PTXCONF_INITMETHOD_BBINIT_LINK_AT)) -endif - ifneq ($(call remove_quotes, $(PTXCONF_INITMETHOD_BBINIT_LINK_CHRONY)),) @$(call install_link, initmethod-bbinit, \ ../init.d/chrony, \ |