mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 17:54:39 +02:00
gmenu2x, update and immediately stop then poweroff
This commit is contained in:
parent
bb2a84ca0e
commit
d320abc7e2
@ -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
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user