projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add back the base-files/image code from brcm-2.4 to brcm47xx
[openwrt.git]
/
target
/
linux
/
brcm-2.4
/
base-files
/
lib
/
preinit
/
20_failsafe_set_boot_wait_brcm
1
#!/bin/sh
2
3
. /etc/functions.sh
4
5
set_boot_wait() {
6
[ -x "/usr/sbin/nvram" ] && {
7
[ "$(nvram get boot_wait)" != "on" ] && {
8
nvram set boot_wait=on
9
nvram commit
10
}
11
}
12
}
13
14
boot_hook_add failsafe set_boot_wait