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)
commit222f6f237a98f1134c36de71d3e70c6b4c2a6a08
tree6e34f5863b3d0676b7d44a848b5b7bf5030c2168
parentd4f32fda8b60771b7d21bf60b99b152b64ec609c
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]