1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 10:30:36 +02:00
openwrt-xburst/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot
jow 0499d64f3d [x86] geos: add missing files from previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 18:59:51 +00:00

14 lines
136 B
Bash

#!/bin/sh
logger -t button -p daemon.info "$BUTTON/$ACTION"
case "$BUTTON/$ACTION" in
reset/released)
reboot -f
;;
esac
exit 0