move firstboot from S99done to S10boot
[openwrt.git] / openwrt / target / default / target_skeleton / etc / init.d / S10boot
index 1a36583..e1f47ba 100755 (executable)
@@ -35,3 +35,8 @@ HOSTNAME=${HOSTNAME%%.*}
 echo ${HOSTNAME:=OpenWrt} > /proc/sys/kernel/hostname
 
 vconfig set_name_type VLAN_PLUS_VID_NO_PAD
+
+# automagically run firstboot
+[ -z "$FAILSAFE" ] && {
+       { mount | grep jffs2 1>&-; } || firstboot
+}
This page took 0.024445 seconds and 4 git commands to generate.