X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fae2f3c6e5a4ee82aeb9601348403e3a4115dc3b..a64cf0adff673a21bce78cafb2e3ec15b59faec7:/openwrt/target/default/target_skeleton/etc/preinit?ds=inline diff --git a/openwrt/target/default/target_skeleton/etc/preinit b/openwrt/target/default/target_skeleton/etc/preinit index 7a02e3121..061673035 100755 --- a/openwrt/target/default/target_skeleton/etc/preinit +++ b/openwrt/target/default/target_skeleton/etc/preinit @@ -1,4 +1,8 @@ #!/bin/sh +[ "$(/usr/sbin/nvram get boot_wait)" != "on" ] && { + /usr/sbin/nvram set boot_wait=on + /usr/sbin/nvram commit +} mount none /proc -t proc insmod diag echo 0x01 > /proc/sys/diag