From: Mike Baker Date: Wed, 1 Jun 2005 08:30:05 +0000 (+0000) Subject: switch to a more reliable mechanism for running firstboot X-Git-Tag: whiterussian_rc1~102 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f9e189a014ab0a77c9f176b99eb34c53ba2ab66b;p=openwrt%2Fsvn-archive%2Fopenwrt.git switch to a more reliable mechanism for running firstboot SVN-Revision: 1126 --- diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S10boot b/openwrt/target/default/target_skeleton/etc/init.d/S10boot index 8b7ec9a770..f45eafb1e7 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 }