mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
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:
24
src/initscripts/init.d/alsa
Normal file
24
src/initscripts/init.d/alsa
Normal 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
|
||||
Reference in New Issue
Block a user