source: bootscripts-standard/cblfs/init.d/alsa@ 6dee7fa

Last change on this file since 6dee7fa was 7125722, checked in by Jim Gifford <clfs@…>, 17 years ago

Import of Bootscripts

  • Property mode set to 100644
File size: 676 bytes
Line 
1#!/bin/sh
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
15case "$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 ;;
27esac
28
29# End $rc_base/init.d/alsa
Note: See TracBrowser for help on using the repository browser.