openwrtv3/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot
Jo-Philipp Wich 1ae5715f2e geos: add missing files from previous commit
SVN-Revision: 29997
2012-02-02 18:59:51 +00:00

13 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