gmenu2x, update and immediately stop then poweroff

This commit is contained in:
Xiangfu Liu committed 2011-08-17 10:35:57 +08:00
1 parent bb2a84ca0e
commit d320abc7e2
2 files changed
+7 -4

No files matched your search

@@ -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
}