diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-08-19 08:31:23 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-08-19 08:31:23 +0000 |
commit | 20fac016e432cf384289b3fefadf3f4909924faf (patch) | |
tree | 2eac7cea31b2af956fe1a2cb5b2624697efe30e8 /target/linux/mvebu/base-files/etc/init.d/u-boot_env | |
parent | 996399ba08e4a3c372e4029f0d76a495c7f46f7b (diff) | |
download | upstream-20fac016e432cf384289b3fefadf3f4909924faf.tar.gz upstream-20fac016e432cf384289b3fefadf3f4909924faf.tar.bz2 upstream-20fac016e432cf384289b3fefadf3f4909924faf.zip |
mvebu: add support for the Linksys boot counter
The u-boot boot counter was never reset after a successful boot,
which sometimes could make some variables become out of sync.
This patch adds support for the boot counter and enables
auto_recovery unconditionally.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46690
Diffstat (limited to 'target/linux/mvebu/base-files/etc/init.d/u-boot_env')
-rwxr-xr-x | target/linux/mvebu/base-files/etc/init.d/u-boot_env | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/mvebu/base-files/etc/init.d/u-boot_env b/target/linux/mvebu/base-files/etc/init.d/u-boot_env deleted file mode 100755 index 82f36cb71f..0000000000 --- a/target/linux/mvebu/base-files/etc/init.d/u-boot_env +++ /dev/null @@ -1,14 +0,0 @@ -#!/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 -} |