diff options
-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, \ |