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 /rules/chrony.make | |
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>
Diffstat (limited to 'rules/chrony.make')
-rw-r--r-- | rules/chrony.make | 6 |
1 files changed, 6 insertions, 0 deletions
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) |