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

gmenu2x, update and immediately stop then poweroff

This commit is contained in:
Xiangfu Liu
2011-08-17 10:25:44 +08:00
parent bb2a84ca0e
commit d320abc7e2
2 changed files with 7 additions and 4 deletions

View File

@@ -1,12 +1,15 @@
#!/bin/sh /etc/rc.common
START=99
STOP=99
START=01
STOP=01
start() {
/usr/sbin/alsactl restore -f /etc/asound.state
return 0
}
stop() {
/usr/sbin/alsactl store -f /etc/asound.state
killall gmenu2x
return 0
}