diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 14:22:28 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:23:57 +0200 |
commit | 365e32ff4ef115140d754332cd3abc838bcf8839 (patch) | |
tree | 4046ee8955b64024b1adc356eef0402b13af78d9 /rules/ntp.make | |
parent | 42390be5fbc9dd9b4bcfd800ba95088aacc87f1a (diff) | |
download | ptxdist-365e32ff4ef115140d754332cd3abc838bcf8839.tar.gz ptxdist-365e32ff4ef115140d754332cd3abc838bcf8839.tar.xz |
[ntp] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ntp.make')
-rw-r--r-- | rules/ntp.make | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/ntp.make b/rules/ntp.make index e5fa845f5..092a0bbe6 100644 --- a/rules/ntp.make +++ b/rules/ntp.make @@ -320,6 +320,12 @@ endif ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_NTP_NTPD_STARTSCRIPT @$(call install_alternative, ntp, 0, 0, 0755, /etc/init.d/ntp-server) + +ifneq ($(call remove_quotes,$(PTXCONF_NTP_NTPD_BBINIT_LINK)),) + @$(call install_link, ntp, \ + ../init.d/ntp-server, \ + /etc/rc.d/$(PTXCONF_NTP_NTPD_BBINIT_LINK)) +endif endif endif @@ -335,6 +341,12 @@ endif ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_NTP_NTPC_STARTSCRIPT @$(call install_alternative, ntp, 0, 0, 0755, /etc/init.d/ntp-client) + +ifneq ($(call remove_quotes,$(PTXCONF_NTP_NTPC_BBINIT_LINK)),) + @$(call install_link, ntp, \ + ../init.d/ntp-client, \ + /etc/rc.d/$(PTXCONF_NTP_NTPC_BBINIT_LINK)) +endif endif endif |