diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-08-25 09:35:45 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-08-25 09:35:45 +0000 |
commit | d2652dee9dcc907051911b8a75050277d4c22dcb (patch) | |
tree | 82ed2bd8fb7b9ba25870f794922a11d4cf654674 /target/linux/x86/alix2/base-files/etc/hotplug.d | |
parent | 71adaae258ad2502ddcd1db2469bc5ca09bcd1d8 (diff) | |
download | upstream-d2652dee9dcc907051911b8a75050277d4c22dcb.tar.gz upstream-d2652dee9dcc907051911b8a75050277d4c22dcb.tar.bz2 upstream-d2652dee9dcc907051911b8a75050277d4c22dcb.zip |
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>
SVN-Revision: 28081
Diffstat (limited to 'target/linux/x86/alix2/base-files/etc/hotplug.d')
-rw-r--r-- | target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot b/target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot new file mode 100644 index 0000000000..bf893c15bb --- /dev/null +++ b/target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot @@ -0,0 +1,13 @@ +#!/bin/sh + +logger -t button -p daemon.info "$BUTTON/$ACTION" + +case "$BUTTON/$ACTION" in + +reset/released) + reboot -f + ;; + +esac + +exit 0 |