mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-23 22:17:43 +02:00
0499d64f3d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29997 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
136 B
Bash
14 lines
136 B
Bash
#!/bin/sh
|
|
|
|
logger -t button -p daemon.info "$BUTTON/$ACTION"
|
|
|
|
case "$BUTTON/$ACTION" in
|
|
|
|
reset/released)
|
|
reboot -f
|
|
;;
|
|
|
|
esac
|
|
|
|
exit 0
|