diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 12:34:47 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:23:56 +0200 |
commit | d227775eaa50ce6889a74c087ce92c248e58aea7 (patch) | |
tree | bb93cbabc06be151fa856d419618014cc1dc661b | |
parent | 7b94acf37c33fa96d33aa2203189f0d4174cecb4 (diff) | |
download | ptxdist-d227775eaa50ce6889a74c087ce92c248e58aea7.tar.gz ptxdist-d227775eaa50ce6889a74c087ce92c248e58aea7.tar.xz |
[chrony] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/chrony-bbinit.in | 8 | ||||
-rw-r--r-- | rules/chrony.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/chrony-bbinit.in b/rules/chrony-bbinit.in new file mode 100644 index 000000000..831337fd5 --- /dev/null +++ b/rules/chrony-bbinit.in @@ -0,0 +1,8 @@ +## SECTION=initmethod_bbinit + +config CHRONY_BBINIT_LINK + string + depends on CHRONY_STARTSCRIPT + prompt "chrony" + default "S20chrony" + diff --git a/rules/chrony.make b/rules/chrony.make index 93e934a48..dcfa4c7f0 100644 --- a/rules/chrony.make +++ b/rules/chrony.make @@ -120,6 +120,12 @@ endif ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_CHRONY_STARTSCRIPT @$(call install_alternative, chrony, 0, 0, 0755, /etc/init.d/chrony) + +ifneq ($(call remove_quotes, $(PTXCONF_CHRONY_BBINIT_LINK)),) + @$(call install_link, chrony, \ + ../init.d/chrony, \ + /etc/rc.d/$(PTXCONF_CHRONY_BBINIT_LINK)) +endif endif endif @$(call install_finish, chrony) diff --git a/rules/initmethod-bbinit.in b/rules/initmethod-bbinit.in index 71eac2d4e..ccbb94540 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_CHRONY - string - depends on CHRONY_STARTSCRIPT - prompt "chrony" - default "S20chrony" - config INITMETHOD_BBINIT_LINK_CONNMAN string depends on CONNMAN_STARTSCRIPT diff --git a/rules/initmethod-bbinit.make b/rules/initmethod-bbinit.make index 2d2f9536f..2324b8fee 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_CHRONY)),) - @$(call install_link, initmethod-bbinit, \ - ../init.d/chrony, \ - /etc/rc.d/$(PTXCONF_INITMETHOD_BBINIT_LINK_CHRONY)) -endif - ifneq ($(call remove_quotes, $(PTXCONF_INITMETHOD_BBINIT_LINK_CONNMAN)),) @$(call install_link, initmethod-bbinit, \ ../init.d/connman, \ |