openwrt-owl/package/base-files/files/etc/rc.button
Chris Blake b745bfa6dc base-files: Ensure reset only works if an overlay exists
Currently the reset script will try to run jffs2reset on boards that are
running a rw rootfs, such as ext4. This will cause jffs2reset to fail
and the board to never reboot while the LED blinks until a manual
reboot.

This commit does two different things:
1. Disables reset on boards that do not have an overlay mount
2. Disables the Blinking LED after 5 seconds if the board does not
support reset

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
2016-10-27 12:45:05 +02:00
..
failsafe buttons: make all button handler scripts return 0 2015-07-24 09:11:35 +00:00
power base-files: buttons: make power script return 0 2015-08-12 00:57:53 +00:00
reset base-files: Ensure reset only works if an overlay exists 2016-10-27 12:45:05 +02:00
rfkill treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00