diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 15:31:38 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:24:01 +0200 |
commit | a34de6c4b5149b09d54bb0b98c76d7c190820bb5 (patch) | |
tree | a92da77c98e9b026a664396d66f00c513eefcc81 /rules/smartmontools.make | |
parent | c861fe3682ea0e3bda488599c0be664ff1dfc44d (diff) | |
download | ptxdist-a34de6c4b5149b09d54bb0b98c76d7c190820bb5.tar.gz ptxdist-a34de6c4b5149b09d54bb0b98c76d7c190820bb5.tar.xz |
[smartmontools] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/smartmontools.make')
-rw-r--r-- | rules/smartmontools.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/smartmontools.make b/rules/smartmontools.make index f1aa3954c..e798e48db 100644 --- a/rules/smartmontools.make +++ b/rules/smartmontools.make @@ -65,6 +65,12 @@ ifdef PTXCONF_SMARTMONTOOLS_SMARTD_CONFIG endif ifdef PTXCONF_SMARTMONTOOLS_SMARTD_INITD @$(call install_alternative, smartmontools, 0, 0, 0755, /etc/init.d/smartd) + +ifneq ($(call remove_quotes,$(PTXCONF_SMARTMONTOOLS_BBINIT_LINK)),) + @$(call install_link, smartmontools, \ + ../init.d/smartd, \ + /etc/rc.d/$(PTXCONF_SMARTMONTOOLS_BBINIT_LINK)) +endif endif @$(call install_finish, smartmontools) |