diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-07-14 12:56:42 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-07-14 12:56:42 +0000 |
commit | 6859bb2428cb0bbd004972c3d62050dcbe35c123 (patch) | |
tree | fa589e0fa45ba7165d2964156450c27edd8b970c /target/linux | |
parent | cd7c8bbe3de1eb7364073928c87d21034ef88738 (diff) | |
download | upstream-6859bb2428cb0bbd004972c3d62050dcbe35c123.tar.gz upstream-6859bb2428cb0bbd004972c3d62050dcbe35c123.tar.bz2 upstream-6859bb2428cb0bbd004972c3d62050dcbe35c123.zip |
brcm47xx: do not change nvram without user interaction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37281 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm b/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm deleted file mode 100644 index 001f5f4d3f..0000000000 --- a/target/linux/brcm47xx/base-files/lib/preinit/20_failsafe_set_boot_wait_brcm +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -. /lib/functions.sh - -set_boot_wait() { - [ -x "/usr/sbin/nvram" ] && { - [ "$(nvram get boot_wait)" != "on" ] && { - nvram set boot_wait=on - nvram commit - } - } -} - -boot_hook_add failsafe set_boot_wait |