1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2015-2016 OpenWrt.org
3 # Copyright (C) 2016 LEDE-Project.org
10 linksys
,caiman|linksys
,cobra|linksys
,mamba|linksys
,rango|linksys
,shelby|linksys
,venom
)
11 # make sure auto_recovery in uboot is always on
12 AUTO_RECOVERY_ENA
="`fw_printenv -n auto_recovery`"
13 if [ "$AUTO_RECOVERY_ENA" != "yes" ] ; then
14 fw_setenv auto_recovery
yes
16 # reset the boot counter