aboutsummaryrefslogtreecommitdiff
path: root/src/lm_sensors/fancontrol.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lm_sensors/fancontrol.rc')
-rwxr-xr-xsrc/lm_sensors/fancontrol.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lm_sensors/fancontrol.rc b/src/lm_sensors/fancontrol.rc
index 8e98d06..c20ce16 100755
--- a/src/lm_sensors/fancontrol.rc
+++ b/src/lm_sensors/fancontrol.rc
@@ -3,11 +3,11 @@
. /etc/rc.conf
. /etc/rc.d/functions
-PID=$(pidof -o %PPID -x /usr/sbin/fancontrol)
+PID=$(pidof -o %PPID -x /usr/bin/fancontrol)
case "$1" in
start)
stat_busy "Starting fancontrol"
- [ -z "$PID" ] && /usr/sbin/fancontrol -D &>/dev/null
+ [ -z "$PID" ] && /usr/bin/fancontrol -D &>/dev/null
if [ $? -gt 0 -o -n "$PID" ]; then
stat_fail
else