aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-03-26 18:07:19 +0000
committerBill Nottingham <notting@redhat.com>2004-03-26 18:07:19 +0000
commit73c36992e170233d4b132c760caa907fa9f818be (patch)
tree2248e663f9ca09efe4710a5a9a5a554e2ac3880a /rc.d
parentf2b560d1b66df0682b3b6fba799387f048e4f94b (diff)
downloadinitscripts-73c36992e170233d4b132c760caa907fa9f818be.tar
initscripts-73c36992e170233d4b132c760caa907fa9f818be.tar.gz
initscripts-73c36992e170233d4b132c760caa907fa9f818be.tar.bz2
initscripts-73c36992e170233d4b132c760caa907fa9f818be.tar.xz
initscripts-73c36992e170233d4b132c760caa907fa9f818be.zip
use alsa for mixer saving
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/halt6
1 files changed, 3 insertions, 3 deletions
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.