switch to a more reliable mechanism for running firstboot
authorMike Baker <mbm@openwrt.org>
Wed, 1 Jun 2005 08:30:05 +0000 (08:30 +0000)
committerMike Baker <mbm@openwrt.org>
Wed, 1 Jun 2005 08:30:05 +0000 (08:30 +0000)
SVN-Revision: 1126

openwrt/target/default/target_skeleton/etc/init.d/S10boot

index 8b7ec9a770227004eb4d4d9ea9855ab7fc7052ac..f45eafb1e7096f8ac1439f0f13fd6e2d5db6a3df 100755 (executable)
@@ -36,5 +36,5 @@ vconfig set_name_type VLAN_PLUS_VID_NO_PAD
 
 # automagically run firstboot
 [ -z "$FAILSAFE" ] && {
-       { mount|grep jffs2 1>&-; } || firstboot
+       { mount|grep "on / type jffs2" 1>&-; } || firstboot
 }