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/alsa-utils/alsa | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/alsa-utils') 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 -- cgit v1.2.3