enable mrd6 in menuconfig
[openwrt.git] / package / base-files / default / etc / preinit
index 88c8920..ac9039c 100755 (executable)
@@ -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.021246 seconds and 4 git commands to generate.