brcm47xx: do not change nvram without user interaction
[openwrt/staging/florian.git] / target / linux / brcm47xx / base-files / lib / preinit / 20_failsafe_set_boot_wait_brcm
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 (file)
index 001f5f4..0000000
+++ /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