CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fltk2: Updated to version r7513.
[attic/ports/opt-cross.git] / alsa-utils / rc.alsa
CommitLineData
01a92d2c
VM
1#!/bin/sh
2#
3# /etc/rc.d/alsa: store/restore ALSA mixer levels
4#
5
6# location of the alsactl executable
7ALSACTL=/usr/sbin/alsactl
8
9case $1 in
10 start)
11 $ALSACTL restore
12 ;;
13 stop)
14 $ALSACTL store
15 ;;
16 restart)
17 $0 stop
18 sleep 2
19 $0 start
20 ;;
21 *)
22 echo "Usage: $0 [start|stop|restart]"
23 ;;
24esac
25
26# End of file