1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2025-04-21 12:27:27 +03:00

Store/restore alsa settings correctly.

Update asound.state to enable microphone by default.
This commit is contained in:
kyak
2011-06-17 12:04:41 +04:00
parent a84f7d3f9c
commit ec8d8f8c88
2 changed files with 50 additions and 34 deletions

View File

@@ -4,9 +4,9 @@ START=99
STOP=99
start() {
/usr/sbin/alsactl restore
/usr/sbin/alsactl restore -f /etc/asound.state
}
stop() {
/usr/sbin/alsactl store
/usr/sbin/alsactl store -f /etc/asound.state
}