kirkwood: support Linksys boot counter on EA[34]500
authorLuka Perkov <luka@openwrt.org>
Tue, 10 Nov 2015 00:16:37 +0000 (00:16 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 Nov 2015 00:16:37 +0000 (00:16 +0000)
commitea8ac0999cb78399acf3af6d8eb6fe5b92d06f53
treee5f48e5b8ab38ffdbf44a9ed815eecac909774dd
parent6acb552eeeb5f8917dfc4b7fe599fe9136cf2118
kirkwood: support Linksys boot counter on EA[34]500

This is done with existing code from the WRT1900AC port.
It makes sure the "auto_recovery" bootloader option is set,
and resets the s_env boot counter after a successful boot.

This gives users without a serial console connection some
measure of safety.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 47433
package/system/mtd/src/Makefile
target/linux/kirkwood/base-files/etc/init.d/linksys_recovery [new file with mode: 0755]