projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
enable mrd6 in menuconfig
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
preinit
diff --git
a/package/base-files/default/etc/preinit
b/package/base-files/default/etc/preinit
index
88c8920
..
ac9039c
100755
(executable)
--- a/
package/base-files/default/etc/preinit
+++ b/
package/base-files/default/etc/preinit
@@
-16,4
+16,9
@@
fi
mount_root ${FAILSAFE:+failsafe}
+# automagically run firstboot
+[ -z "$FAILSAFE" -a -z "$(nvram get no_root_swap)" ] && {
+ { mount|grep "on / type jffs2" 1>&-; } || firstboot
+}
+
exec /sbin/init
This page took
0.020669 seconds
and
4
git commands to generate.