1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
openwrt/package
Alan Swanson 5422fed787 gpio-button-hotplug: add KEY_POWER2 handling
For devices such as BTHOMEHUBV5A with both reset and restart buttons,
its easily accessible restart button has been assigned to KEY_POWER
power script to poweroff preventing accidental (or malicious) factory
resets by KEY_RESTART reset script. However an easily accessible button
immediately powering off the device is also undesirable.

As KEY_RESTART is already used for reset script (and there's no
KEY_REBOOT in Linux input events), use KEY_POWER2 for rebooting via new
reboot script with 5 second seen delay.

Fixes: FS#1965
Signed-off-by: Alan Swanson <reiver@improbability.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [long line wrap]
2019-05-30 11:55:50 +02:00
..
base-files base-files: add reboot only button handler 2019-05-30 11:55:49 +02:00
boot uboot-imx6: bump to 2019.04 and refresh patches 2019-05-20 21:19:48 +02:00
devel valgrind: Add support for ARM64 architecture 2019-05-14 20:28:41 +02:00
firmware ipq40xx: Add support for Linksys EA8300 (Dallas) 2019-05-18 13:43:54 +02:00
kernel gpio-button-hotplug: add KEY_POWER2 handling 2019-05-30 11:55:50 +02:00
libs libbsd: Fix compilation under ARC 2019-05-17 21:41:43 +02:00
network netifd: fix missing ip rules after network reload (FS#2296) 2019-05-28 10:21:02 +02:00
system procd: update to latest git HEAD 2019-05-30 08:03:02 +02:00
utils busybox: fix: ip addr flush hangs when run by non-root user 2019-05-28 13:18:58 +02:00
Makefile build: add ABI_VERSION to binary package names 2019-01-19 14:32:12 +01:00