From 5938f21d9bc4b0704f2c6b60c069f3456e7688e3 Mon Sep 17 00:00:00 2001
From: mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 1 Jun 2005 08:30:05 +0000
Subject: [PATCH] switch to a more reliable mechanism for running firstboot

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1126 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/default/target_skeleton/etc/init.d/S10boot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/default/target_skeleton/etc/init.d/S10boot b/target/default/target_skeleton/etc/init.d/S10boot
index 8b7ec9a77..f45eafb1e 100755
--- a/target/default/target_skeleton/etc/init.d/S10boot
+++ b/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
 }
-- 
2.20.1