mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
brcm47xx: do not change nvram without user interaction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37281 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cd7c8bbe3d
commit
6859bb2428
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user