]> git.enpas.org Git - openwrt.git/blob - target/linux/x86/alix2/base-files/etc/hotplug.d/button/50-reboot
[x86] update alix2 platform driver
[openwrt.git] / target / linux / x86 / alix2 / base-files / etc / hotplug.d / button / 50-reboot
1 #!/bin/sh
2
3 logger -t button -p daemon.info "$BUTTON/$ACTION"
4
5 case "$BUTTON/$ACTION" in
6
7 reset/released)
8   reboot -f
9   ;;
10
11 esac
12
13 exit 0