aboutsummaryrefslogtreecommitdiff
path: root/src/rfkill/rc.d
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 22:15:39 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-05-25 22:15:39 +0200
commit57cd084ff2f96f001045a8849b68877e9db2f6d0 (patch)
tree6727a3351882b3ad62115ecac4f2d537e5e1731d /src/rfkill/rc.d
parent2bd6b7a88739f24b277bb41eb6e6325c8f97c181 (diff)
downloadrcdscripts-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/rfkill/rc.d')
-rwxr-xr-xsrc/rfkill/rc.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rfkill/rc.d b/src/rfkill/rc.d
index ce90ee1..cce4009 100755
--- a/src/rfkill/rc.d
+++ b/src/rfkill/rc.d
@@ -8,7 +8,7 @@ case "$1" in
start)
for device in ${RFKILL_BLOCK}; do
stat_busy "Blocking rfkill device: ${device}"
- /usr/sbin/rfkill block ${device}
+ /usr/bin/rfkill block ${device}
if [ $? -eq 0 ]; then
stat_done
else
@@ -17,7 +17,7 @@ case "$1" in
done
for device in ${RFKILL_UNBLOCK}; do
stat_busy "Unblocking rfkill device: ${device}"
- /usr/sbin/rfkill unblock ${device}
+ /usr/bin/rfkill unblock ${device}
if [ $? -eq 0 ]; then
stat_done
else