summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-08-04 23:36:41 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-08-04 23:36:41 (GMT)
commit8ca639078819fb0229652e9feb47c9550fe8747f (patch)
tree4293870a96de1355451baad278de5e0e784a2997 /abs
parent4bc7b0f67aa62aa9455b940cb7ec14661be98193 (diff)
downloadlinhes_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')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/smartd/run11
2 files changed, 4 insertions, 9 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index e186f99..828e54c 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=24
+pkgrel=25
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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