aboutsummaryrefslogtreecommitdiff
path: root/src/lm_sensors
diff options
context:
space:
mode:
Diffstat (limited to 'src/lm_sensors')
-rwxr-xr-xsrc/lm_sensors/fancontrol.rc4
-rwxr-xr-xsrc/lm_sensors/healthd.rc4
-rwxr-xr-xsrc/lm_sensors/sensord.rc4
3 files changed, 6 insertions, 6 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
diff --git a/src/lm_sensors/healthd.rc b/src/lm_sensors/healthd.rc
index f50f4a6..4f83c8b 100755
--- a/src/lm_sensors/healthd.rc
+++ b/src/lm_sensors/healthd.rc
@@ -3,11 +3,11 @@
. /etc/rc.conf
. /etc/rc.d/functions
-PID=$(pidof -x -o %PPID /usr/sbin/healthd)
+PID=$(pidof -x -o %PPID /usr/bin/healthd)
case "${1}" in
start)
stat_busy "Starting Health Daemon"
- [ -z "${PID}" ] && /usr/sbin/healthd &> /dev/null
+ [ -z "${PID}" ] && /usr/bin/healthd &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
diff --git a/src/lm_sensors/sensord.rc b/src/lm_sensors/sensord.rc
index e3ef4d2..ef9b870 100755
--- a/src/lm_sensors/sensord.rc
+++ b/src/lm_sensors/sensord.rc
@@ -4,11 +4,11 @@
. /etc/rc.d/functions
. /etc/conf.d/sensord
-PID=$(pidof -o %PPID /usr/sbin/sensord)
+PID=$(pidof -o %PPID /usr/bin/sensord)
case "$1" in
start)
stat_busy "Starting sensord"
- [ -z "$PID" ] && /usr/sbin/sensord ${SENSORD_ARGS}
+ [ -z "$PID" ] && /usr/bin/sensord ${SENSORD_ARGS}
if [ $? -gt 0 ]; then
stat_fail
else