From 57cd084ff2f96f001045a8849b68877e9db2f6d0 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sat, 25 May 2013 22:15:39 +0200 Subject: rcdscripts: start deprecating /usr/sbin The following scripts were found to be broken due to binaries being moved to /usr/bin: acpid, alsa, fancontrol, sensord, healthd, sshd, rfkill and syslog-ng. I do not doubt several more daemons were moved to /usr/bin already. But there are 230 services in this package and I can't test them all. --- src/lm_sensors/healthd.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lm_sensors/healthd.rc') 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 -- cgit v1.2.3