5
# Required-Start: $remote_fs
9
# Short-Description: lm-sensors
10
# Description: hardware health monitoring
13
. /lib/lsb/init-functions
15
[ -f /etc/default/rcS ] && . /etc/default/rcS
16
PATH=/bin:/usr/bin:/sbin:/usr/sbin
17
PROGRAM=/usr/bin/sensors
19
test -x $PROGRAM || exit 0
23
log_begin_msg "Setting sensors limits"
24
if [ "$VERBOSE" = "no" ]; then
25
/usr/bin/sensors -s 1> /dev/null 2> /dev/null
26
/usr/bin/sensors 1> /dev/null 2> /dev/null
29
/usr/bin/sensors > /dev/null
42
log_success_msg "Usage: /etc/init.d/lm-sensors {start|stop|restart|force-reload|status}"