1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 22:12:49 +02:00
openwrt-packages/nanonote-files/files/etc/init.d/ben-nanonote

17 lines
231 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=01
STOP=01
start() {
/usr/bin/poke 0x10003024 0
/usr/sbin/alsactl restore -f /etc/asound.state
return 0
}
stop() {
/usr/sbin/alsactl store -f /etc/asound.state
killall gmenu2x.bin
return 0
}