diff options
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, 14 insertions, 0 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 new file mode 100755 index 0000000..82f36cb --- /dev/null +++ b/target/linux/mvebu/base-files/etc/init.d/u-boot_env @@ -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 +} |