summaryrefslogtreecommitdiffstats
path: root/abs/extra/smartmontools/smartd
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-08-16 17:54:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-08-16 17:59:29 (GMT)
commit786eef48b2fb22dff520b45560b124225a1155dc (patch)
tree96d97eb33af1edb996fdcc99fc3d974f78a38d65 /abs/extra/smartmontools/smartd
parentef2a0c8b6785730d7ef65b5ba4f98dc5c669209d (diff)
downloadlinhes_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/smartd35
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