1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 07:58:06 +02:00
openwrt-xburst/target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot
florian 1d08fd80b1 [x86] update alix2 platform driver
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
2011-08-25 09:35:45 +00:00

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