mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-20 02:07:37 +03:00
2294706127
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19336 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
214 B
Bash
15 lines
214 B
Bash
#!/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
|