projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
267f3a2
)
set boot_wait to on in the earliest possible moment. this makes webupgrade safer...
author
Waldemar Brodkorb
<wbx@openwrt.org>
Wed, 6 Jul 2005 10:36:33 +0000
(10:36 +0000)
committer
Waldemar Brodkorb
<wbx@openwrt.org>
Wed, 6 Jul 2005 10:36:33 +0000
(10:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1358
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/default/target_skeleton/etc/preinit
patch
|
blob
|
history
diff --git
a/target/default/target_skeleton/etc/preinit
b/target/default/target_skeleton/etc/preinit
index
7a02e31
..
0616730
100755
(executable)
--- a/
target/default/target_skeleton/etc/preinit
+++ b/
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