From: mbm Date: Wed, 1 Jun 2005 08:30:05 +0000 (+0000) Subject: switch to a more reliable mechanism for running firstboot X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/0ef1c1585fc01ad3bb968ab57ef169881f7cafb1?ds=inline switch to a more reliable mechanism for running firstboot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1126 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S10boot b/openwrt/target/default/target_skeleton/etc/init.d/S10boot index 8b7ec9a77..f45eafb1e 100755 --- a/openwrt/target/default/target_skeleton/etc/init.d/S10boot +++ b/openwrt/target/default/target_skeleton/etc/init.d/S10boot @@ -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 }