mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-06 09:05:00 +02:00
1d08fd80b1
Add support for Ed Wildgoose's alix platform driver plus my enhancement to add GPIO soft button support. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28081 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
|