1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-19 17:47:15 +03:00
openwrt-xburst/target/linux/x86/geos/base-files/etc/hotplug.d/button/50-reboot

14 lines
136 B
Plaintext
Raw Normal View History

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