diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-02 18:59:51 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-02-02 18:59:51 +0000 |
commit | 0499d64f3d14cde6fbfb650c2aaa187762ca1c4f (patch) | |
tree | 1c0ee17b804af4ad5bde032b06a549d6f62093f7 /target/linux/x86/geos/base-files/etc/hotplug.d/button | |
parent | 76dfd53de08d60345affa2ceae67f24bf4209119 (diff) |
[x86] geos: add missing files from previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29997 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/geos/base-files/etc/hotplug.d/button')
-rw-r--r-- | target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot b/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot new file mode 100644 index 000000000..bf893c15b --- /dev/null +++ b/target/linux/x86/geos/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 |