Last change
on this file since 56f753d was 2167cfe, checked in by William Harrington <kb0iic@…>, 11 years ago |
bootscripts are the scripts used for the sysvinit book.
|
-
Property mode
set to
100644
|
File size:
678 bytes
|
Rev | Line | |
---|
[2167cfe] | 1 | #!/bin/bash
|
---|
| 2 | # Begin $rc_base/init.d/alsa
|
---|
| 3 |
|
---|
| 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
|
---|
| 8 |
|
---|
| 9 | #$LastChangedBy: bdubbs $
|
---|
| 10 | #$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
|
---|
| 11 |
|
---|
| 12 | . /etc/sysconfig/rc
|
---|
| 13 | . $rc_functions
|
---|
| 14 |
|
---|
| 15 | case "$1" in
|
---|
| 16 | stop)
|
---|
| 17 | boot_mesg "Stopping ALSA... Saving volumes..."
|
---|
| 18 | loadproc /usr/sbin/alsactl store
|
---|
| 19 | #boot_mesg " Removing MIDI font..."
|
---|
| 20 | #loadproc sfxload -i
|
---|
| 21 | ;;
|
---|
| 22 |
|
---|
| 23 | *)
|
---|
| 24 | echo "Usage: $0 stop"
|
---|
| 25 | exit 1
|
---|
| 26 | ;;
|
---|
| 27 | esac
|
---|
| 28 |
|
---|
| 29 | # End $rc_base/init.d/alsa
|
---|
Note:
See
TracBrowser
for help on using the repository browser.