summaryrefslogtreecommitdiffstats
path: root/abs/extra/lm_sensors/healthd.rc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/lm_sensors/healthd.rc')
-rw-r--r--abs/extra/lm_sensors/healthd.rc18
1 files changed, 1 insertions, 17 deletions
diff --git a/abs/extra/lm_sensors/healthd.rc b/abs/extra/lm_sensors/healthd.rc
index 7bb7951..f50f4a6 100644
--- a/abs/extra/lm_sensors/healthd.rc
+++ b/abs/extra/lm_sensors/healthd.rc
@@ -1,29 +1,13 @@
#!/bin/bash
-#
-# /etc/rc.d/healthd
-#
-
. /etc/rc.conf
. /etc/rc.d/functions
-. /etc/conf.d/healthd
-
-maybe_alarm_reset() {
- case "${ALARM_RESET}" in
- yes) /usr/bin/sensors > /dev/null
- ;;
- no) true
- ;;
- *) false
- esac
- return $?
-}
PID=$(pidof -x -o %PPID /usr/sbin/healthd)
case "${1}" in
start)
stat_busy "Starting Health Daemon"
- [ -z "${PID}" ] && maybe_alarm_reset && /usr/sbin/healthd &> /dev/null
+ [ -z "${PID}" ] && /usr/sbin/healthd &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else