aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 8fd08c6d..3922e008 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -52,7 +52,7 @@ halt -w
# Save mixer settings, here for lack of a better place.
grep -q "\(sparcaudio\|sound\)" /proc/devices
-if [ $? = 0 ]; then
+if [ $? = 0 -a -x /bin/aumix-minimal ]; then
runcmd "Saving mixer settings" /bin/aumix-minimal -f /etc/.aumixrc -S
fi