Last change
on this file since 2167cfe was 7df280d, checked in by Joe Ciccone <jciccone@…>, 17 years ago |
Change /bin/sh to /bin/bash in the bootscripts because the bootscripts use bashisms. Having ash linked to sh will cause errors. Thanks to Bigdassaved for providing the diff and Copper for bring up the issue.
|
-
Property mode
set to
100644
|
File size:
678 bytes
|
Line | |
---|
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.