aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-10-04 15:44:15 +0000
committerBill Nottingham <notting@redhat.com>1999-10-04 15:44:15 +0000
commita7a7ec544cbbe106de987a178293a522cf9ff90f (patch)
tree858133b46739e56e8f96e77dc7a6b5217c3981bb /rc.d/init.d/halt
parentad0bcdcfb4b64fbb4f1158d013572a3bffa1f53f (diff)
downloadinitscripts-a7a7ec544cbbe106de987a178293a522cf9ff90f.tar
initscripts-a7a7ec544cbbe106de987a178293a522cf9ff90f.tar.gz
initscripts-a7a7ec544cbbe106de987a178293a522cf9ff90f.tar.bz2
initscripts-a7a7ec544cbbe106de987a178293a522cf9ff90f.tar.xz
initscripts-a7a7ec544cbbe106de987a178293a522cf9ff90f.zip
check for aumix-minimal before execution
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