diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-05-25 22:15:39 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2013-05-25 22:15:39 +0200 |
commit | 57cd084ff2f96f001045a8849b68877e9db2f6d0 (patch) | |
tree | 6727a3351882b3ad62115ecac4f2d537e5e1731d /src/acpid | |
parent | 2bd6b7a88739f24b277bb41eb6e6325c8f97c181 (diff) | |
download | rcdscripts-57cd084ff2f96f001045a8849b68877e9db2f6d0.tar.xz |
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.
Diffstat (limited to 'src/acpid')
-rwxr-xr-x | src/acpid/acpid.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acpid/acpid.rc b/src/acpid/acpid.rc index 674f462..dd1478e 100755 --- a/src/acpid/acpid.rc +++ b/src/acpid/acpid.rc @@ -5,11 +5,11 @@ [[ -f /etc/conf.d/acpid ]] && . /etc/conf.d/acpid -PID=$(pidof -o %PPID /usr/sbin/acpid) +PID=$(pidof -o %PPID /usr/bin/acpid) case "$1" in start) stat_busy "Starting acpid" - [ -z "$PID" ] && /usr/sbin/acpid $ACPID_ARGS + [ -z "$PID" ] && /usr/bin/acpid $ACPID_ARGS if [ $? -gt 0 ]; then stat_fail else |