Ein Alsa-Initscript gebaut, was beim Herunterfahren die Lautstaerke speichert.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@636 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-06-18 20:20:21 +00:00
parent bc8ca5e45f
commit 99f3c72fc2
9 changed files with 39 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/sh
# Begin $rc_base/init.d/alsa
# Based on sysklogd script from LFS-3.1 and earlier.
# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
# ALSA specific parts by Mark Hymers - markh@linuxfromscratch.org
# Stores mixer settings in the default location: /etc/asound.state
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
stop)
boot_mesg "Stopping ALSA... Saving volumes..."
loadproc /usr/sbin/alsactl store
;;
*)
echo "Usage: $0 stop"
exit 1
;;
esac
# End $rc_base/init.d/alsa