6b4b38ec7bb3a7910658fad8d6d152a68a46efd0
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2015 OpenWrt.org
10 # make sure auto_recovery in uboot is always on
11 AUTO_RECOVERY_ENA
="`fw_printenv -n auto_recovery`"
12 if [ "$AUTO_RECOVERY_ENA" != "yes" ] ; then
13 fw_setenv auto_recovery
yes
15 # reset the boot counter