From ca9c85613d0969829b45f5b34146612604736544 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 14 Jul 2013 12:56:42 +0000 Subject: [PATCH] brcm47xx: do not change nvram without user interaction SVN-Revision: 37281 --- .../lib/preinit/20_failsafe_set_boot_wait_brcm | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 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 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 -- 2.30.2