diff options
Diffstat (limited to 'extra/lm_sensors/healthd.rc')
-rw-r--r-- | extra/lm_sensors/healthd.rc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/extra/lm_sensors/healthd.rc b/extra/lm_sensors/healthd.rc index 7bb79519f..f50f4a6f8 100644 --- a/extra/lm_sensors/healthd.rc +++ b/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 |