From 73c36992e170233d4b132c760caa907fa9f818be Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 26 Mar 2004 18:07:19 +0000 Subject: use alsa for mixer saving --- rc.d/init.d/halt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.d') diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 15d6b994..60f38601 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -64,9 +64,9 @@ runcmd $"Sending all processes the KILL signal..." /sbin/killall5 -9 /sbin/halt -w # Save mixer settings, here for lack of a better place. -grep -q "\(sparcaudio\|sound\)" /proc/devices -if [ $? = 0 -a -x /bin/aumix-minimal ]; then - runcmd $"Saving mixer settings" /bin/aumix-minimal -f /etc/.aumixrc -S +grep -q "\(alsa\)" /proc/devices +if [ $? = 0 -a -x /usr/sbin/alsactl ]; the + runcmd $"Saving mixer settings" alsactl store fi # Sync the system clock. -- cgit v1.2.1