diff options
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/smartd')
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/smartd/finish | 9 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/services/smartd/run | 13 |
2 files changed, 0 insertions, 22 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/smartd/finish b/abs/core-testing/runit-scripts/runitscripts/services/smartd/finish deleted file mode 100755 index 7b77994..0000000 --- a/abs/core-testing/runit-scripts/runitscripts/services/smartd/finish +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - - . /etc/rc.conf - . /etc/rc.d/functions - - stat_runit "Stopping smartd" - kill -9 `pidof /usr/sbin/smartd` &>/dev/null - rm_daemon smartd - stat_done diff --git a/abs/core-testing/runit-scripts/runitscripts/services/smartd/run b/abs/core-testing/runit-scripts/runitscripts/services/smartd/run deleted file mode 100755 index 15ed769..0000000 --- a/abs/core-testing/runit-scripts/runitscripts/services/smartd/run +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - - . /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 |