diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-08-04 23:36:41 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-08-04 23:36:41 (GMT) |
commit | 8ca639078819fb0229652e9feb47c9550fe8747f (patch) | |
tree | 4293870a96de1355451baad278de5e0e784a2997 /abs/core/runit-scripts/runitscripts | |
parent | 4bc7b0f67aa62aa9455b940cb7ec14661be98193 (diff) | |
download | linhes_pkgbuild-8ca639078819fb0229652e9feb47c9550fe8747f.zip linhes_pkgbuild-8ca639078819fb0229652e9feb47c9550fe8747f.tar.gz linhes_pkgbuild-8ca639078819fb0229652e9feb47c9550fe8747f.tar.bz2 |
runit-scripts: fix smartd run file and remove unnecessary finish file.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/smartd/run | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/smartd/run b/abs/core/runit-scripts/runitscripts/services/smartd/run index 15ed769..b8eafb6 100755 --- a/abs/core/runit-scripts/runitscripts/services/smartd/run +++ b/abs/core/runit-scripts/runitscripts/services/smartd/run @@ -3,11 +3,6 @@ . /etc/rc.conf . /etc/rc.d/functions - stat_runit "Starting smartd" - /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null - if [ $? -ne 0 ]; then - stat_fail - else - add_daemon smartd - stat_done - fi +stat_runit "Starting smartd" + + exec /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null |