diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-02 18:59:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-02 18:59:51 +0000 |
commit | 1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea (patch) | |
tree | b5d1fbea4937a9890ee1c8ee826b4acfedf8d382 /target/linux/x86/geos/base-files/etc/hotplug.d | |
parent | a1258ccabaf771bcde03c7620590a29e769ee3b3 (diff) | |
download | upstream-1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea.tar.gz upstream-1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea.tar.bz2 upstream-1ae5715f2e69b0dff7b8170ce5e37b9d6b1785ea.zip |
geos: add missing files from previous commit
SVN-Revision: 29997
Diffstat (limited to 'target/linux/x86/geos/base-files/etc/hotplug.d')
-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 0000000000..bf893c15bb --- /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 |