aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/geos/base-files/etc/hotplug.d/button
diff options
context:
space:
mode:
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/.svn/entries62
-rw-r--r--target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/text-base/50-reboot.svn-base13
-rw-r--r--target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot13
3 files changed, 88 insertions, 0 deletions
diff --git a/target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/entries b/target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/entries
new file mode 100644
index 0000000..34483c0
--- /dev/null
+++ b/target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/x86/geos/base-files/etc/hotplug.d/button
+svn://svn.openwrt.org/openwrt
+
+
+
+2012-02-02T18:59:51.744851Z
+29997
+jow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+50-reboot
+file
+
+
+
+
+2013-03-17T12:12:36.000000Z
+a5d0834e96cb99cb1cc312022d2405ee
+2012-02-02T18:59:51.744851Z
+29997
+jow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+136
+
diff --git a/target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/text-base/50-reboot.svn-base b/target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/text-base/50-reboot.svn-base
new file mode 100644
index 0000000..bf893c1
--- /dev/null
+++ b/target/linux/x86/geos/base-files/etc/hotplug.d/button/.svn/text-base/50-reboot.svn-base
@@ -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
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 0000000..bf893c1
--- /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