1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:19:23 +02: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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1358 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
wbx 2005-07-06 10:36:33 +00:00
parent 3a2df3f0f3
commit c053c3ed77

View File

@ -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