mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-15 10:14:04 +02:00
14 lines
136 B
Plaintext
14 lines
136 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
logger -t button -p daemon.info "$BUTTON/$ACTION"
|
||
|
|
||
|
case "$BUTTON/$ACTION" in
|
||
|
|
||
|
reset/released)
|
||
|
reboot -f
|
||
|
;;
|
||
|
|
||
|
esac
|
||
|
|
||
|
exit 0
|