summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/smartd
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-15 20:38:18 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-15 20:38:18 (GMT)
commit237df8ca287f8109dad86a73072853fd8d7670ff (patch)
tree3cf532283cc93d13f3b2155a72c29334b7f853b3 /abs/core/runit-scripts/runitscripts/services/smartd
parent7c996d3dbc7f8609f7dedbf0928305930d86c9cf (diff)
downloadlinhes_pkgbuild-237df8ca287f8109dad86a73072853fd8d7670ff.zip
linhes_pkgbuild-237df8ca287f8109dad86a73072853fd8d7670ff.tar.gz
linhes_pkgbuild-237df8ca287f8109dad86a73072853fd8d7670ff.tar.bz2
runit-scripts: update /sbin dirs to /usr/bin. refs #961
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/smartd')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/smartd/finish2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/smartd/run2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/smartd/finish b/abs/core/runit-scripts/runitscripts/services/smartd/finish
index 7b77994..b93dcf0 100755
--- a/abs/core/runit-scripts/runitscripts/services/smartd/finish
+++ b/abs/core/runit-scripts/runitscripts/services/smartd/finish
@@ -4,6 +4,6 @@
. /etc/rc.d/functions
stat_runit "Stopping smartd"
- kill -9 `pidof /usr/sbin/smartd` &>/dev/null
+ kill -9 `pidof /usr/bin/smartd` &>/dev/null
rm_daemon smartd
stat_done
diff --git a/abs/core/runit-scripts/runitscripts/services/smartd/run b/abs/core/runit-scripts/runitscripts/services/smartd/run
index b8eafb6..f4f70c1 100755
--- a/abs/core/runit-scripts/runitscripts/services/smartd/run
+++ b/abs/core/runit-scripts/runitscripts/services/smartd/run
@@ -5,4 +5,4 @@
stat_runit "Starting smartd"
- exec /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null
+exec /usr/bin/smartd -n -c /etc/smartd.conf -q never &>/dev/null