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