Turn on the auto recovery feature when flashing and turn it off on successful bootup. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45792master
parent
63cac50d24
commit
9fb062cf93
@ -0,0 +1,14 @@ |
||||
#!/bin/sh /etc/rc.common |
||||
# Copyright (C) 2015 OpenWrt.org |
||||
|
||||
START=97 |
||||
boot() { |
||||
. /lib/functions.sh |
||||
. /lib/mvebu.sh |
||||
|
||||
case $(mvebu_board_name) in |
||||
armada-385-linksys-caiman|armada-385-linksys-cobra|armada-xp-linksys-mamba) |
||||
fw_setenv auto_recovery off |
||||
;; |
||||
esac |
||||
} |
Loading…
Reference in new issue