CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
attic
/
ports
/
opt-cross.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
webkit: initial import (verified compilation).
[attic/ports/opt-cross.git]
/
alsa-utils
/
rc.alsa
1
#!/bin/sh
2
#
3
# /etc/rc.d/alsa: store/restore ALSA mixer levels
4
#
5
6
# location of the alsactl executable
7
ALSACTL
=/
usr
/
sbin
/
alsactl
8
9
case
$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
;;
24
esac
25
26
# End of file