1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-10-01 09:15:25 +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

@ -8,8 +8,8 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gmenu2x
PKG_VERSION:=20110803
PKG_REV:=5f77e3baf7e3376cc6d8513bc819369871f1105c
PKG_VERSION:=20110817
PKG_REV:=64108ab601bfa24cb88b58df79500276409c6d6a
PKG_RELEASE:=1
PKG_INSTALL:=1

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
}