aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.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.