mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-20 01:44:10 +03:00
15 lines
214 B
Plaintext
15 lines
214 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
. /etc/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
|