mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 17:50:14 +03:00
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
|