diff options
Diffstat (limited to 'target/linux/x86/alix2/base-files/etc/hotplug.d')
4 files changed, 119 insertions, 0 deletions
diff --git a/target/linux/x86/alix2/base-files/etc/hotplug.d/.svn/entries b/target/linux/x86/alix2/base-files/etc/hotplug.d/.svn/entries new file mode 100644 index 0000000..de68a37 --- /dev/null +++ b/target/linux/x86/alix2/base-files/etc/hotplug.d/.svn/entries @@ -0,0 +1,31 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/x86/alix2/base-files/etc/hotplug.d +svn://svn.openwrt.org/openwrt + + + +2011-08-25T09:35:45.673414Z +28081 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +button +dir + diff --git a/target/linux/x86/alix2/base-files/etc/hotplug.d/button/.svn/entries b/target/linux/x86/alix2/base-files/etc/hotplug.d/button/.svn/entries new file mode 100644 index 0000000..de9e3b7 --- /dev/null +++ b/target/linux/x86/alix2/base-files/etc/hotplug.d/button/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/x86/alix2/base-files/etc/hotplug.d/button +svn://svn.openwrt.org/openwrt + + + +2011-08-25T09:35:45.673414Z +28081 +florian + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +50-reboot +file + + + + +2013-03-17T12:12:37.000000Z +a5d0834e96cb99cb1cc312022d2405ee +2011-08-25T09:35:45.673414Z +28081 +florian + + + + + + + + + + + + + + + + + + + + + +136 + diff --git a/target/linux/x86/alix2/base-files/etc/hotplug.d/button/.svn/text-base/50-reboot.svn-base b/target/linux/x86/alix2/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/alix2/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/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 0000000..bf893c1 --- /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 |