]>
git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blob - src/initscripts/packages/alsa
2 # Begin $rc_base/init.d/alsa
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
6 # ALSA specific parts by Mark Hymers - markh@linuxfromscratch.org
7 # Stores mixer settings in the default location: /etc/asound.state
14 boot_mesg
"Starting ALSA... Restoring volumes..."
15 modprobe snd_pcm_oss
>/dev
/null
2>&1 || failed
=1
16 modprobe snd_mixer_oss
>/dev
/null
2>&1 || failed
=1
19 loadproc
/usr
/sbin
/alsactl restore
22 boot_mesg
"Stopping ALSA... Saving volumes..."
23 loadproc
/usr
/sbin
/alsactl store
27 echo "Usage: $0 (start|stop)"
32 # End $rc_base/init.d/alsa