mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-18 00:20:53 +00:00
set boot_wait to on in the earliest possible moment. this makes webupgrade safer and also nvram resets. idea and patch from Georg Lucas
SVN-Revision: 1358
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user