mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 17:15:01 +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
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=gmenu2x
|
PKG_NAME:=gmenu2x
|
||||||
PKG_VERSION:=20110803
|
PKG_VERSION:=20110817
|
||||||
PKG_REV:=5f77e3baf7e3376cc6d8513bc819369871f1105c
|
PKG_REV:=64108ab601bfa24cb88b58df79500276409c6d6a
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
START=99
|
START=01
|
||||||
STOP=99
|
STOP=01
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
/usr/sbin/alsactl restore -f /etc/asound.state
|
/usr/sbin/alsactl restore -f /etc/asound.state
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
/usr/sbin/alsactl store -f /etc/asound.state
|
/usr/sbin/alsactl store -f /etc/asound.state
|
||||||
|
killall gmenu2x
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user