b9ea004207148f34394b26c886fdb9770b2aeb55
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2015 OpenWrt.org
9 case $
(ipq806x_board_name
) in
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