aboutsummaryrefslogtreecommitdiff
path: root/src/alsa-utils
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/alsa-utils
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/alsa-utils')
-rwxr-xr-xsrc/alsa-utils/alsa6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/alsa-utils/alsa b/src/alsa-utils/alsa
index 1e7b57f..447c5d8 100755
--- a/src/alsa-utils/alsa
+++ b/src/alsa-utils/alsa
@@ -8,9 +8,9 @@ case "$1" in
start)
stat_busy "Restoring ALSA Levels"
if [[ ! -e /var/lib/alsa/asound.state ]]; then
- /usr/sbin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
+ /usr/bin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
fi
- if /usr/sbin/alsactl $ALSA_ARGS restore; then
+ if /usr/bin/alsactl $ALSA_ARGS restore; then
stat_done
add_daemon alsa
else
@@ -34,7 +34,7 @@ case "$1" in
SAVE_VOLUME=${SAVE_VOLUME:-yes}
if [[ "$SAVE_VOLUME" = "yes" ]]; then
stat_busy "Saving ALSA Levels"
- /usr/sbin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
+ /usr/bin/alsactl $ALSA_ARGS store || { stat_fail; exit 1; }
else
stat_busy "Stopping ALSA"
fi