diff options
author | James Meyer <james.meyer@operamail.com> | 2014-08-16 17:54:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-08-16 17:59:29 (GMT) |
commit | 786eef48b2fb22dff520b45560b124225a1155dc (patch) | |
tree | 96d97eb33af1edb996fdcc99fc3d974f78a38d65 /abs/extra/smartmontools/smartd | |
parent | ef2a0c8b6785730d7ef65b5ba4f98dc5c669209d (diff) | |
download | linhes_pkgbuild-786eef48b2fb22dff520b45560b124225a1155dc.zip linhes_pkgbuild-786eef48b2fb22dff520b45560b124225a1155dc.tar.gz linhes_pkgbuild-786eef48b2fb22dff520b45560b124225a1155dc.tar.bz2 |
smartmon tools: 6.3
refs #961
Diffstat (limited to 'abs/extra/smartmontools/smartd')
-rw-r--r-- | abs/extra/smartmontools/smartd | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/abs/extra/smartmontools/smartd b/abs/extra/smartmontools/smartd deleted file mode 100644 index 5fcc414..0000000 --- a/abs/extra/smartmontools/smartd +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - - . /etc/rc.conf - . /etc/rc.d/functions - - case "$1" in - - start) - stat_busy "Starting smartd" - /usr/sbin/smartd &>/dev/null - if [ $? -ne 0 ]; then - stat_fail - else - add_daemon smartd - stat_done - fi - ;; - - stop) - stat_busy "Stopping smartd" - kill -9 `pidof /usr/sbin/smartd` &>/dev/null - rm_daemon smartd - stat_done - ;; - - restart) - stat_busy "Restarting smartd ..." - $0 stop - $0 start - stat_done - ;; - - *) - echo "usage: $0 {start|stop|restart}" - esac |