[Bugfix][T106BUG-548] Modify the fscheck.sh script to adjust the order of mount and reboot

	Only Configure :No
	Affected branch: master
	Affected module: system
	Is it affected on both ZXIC and MTK:only ZXIC
	Self-test: Yes
	Doc Update: No

Change-Id: Id78eb728fb39baa2a06ce8e5a330aa09dab4859b
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh
index 73e88e9..568d77a 100755
--- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh
+++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/fscheck.sh
@@ -20,17 +20,18 @@
   /sbin/ubi_mount.sh  /mnt/oem     oem2     vol_oem     squashfs
 fi
 
-#l.yang modify for T106BUG-387 start 
-if [ -e /dev/mmcblk1p1 ]; then
-  mount -t ext4 /dev/mmcblk1p1 /var/log
-else
-  mkdir	-p /mnt/oemdata/log
-  mount  /mnt/oemdata/log /var/log
-fi
-#l.yang modify for T106BUG-387 start
-
 if [ $? -ne 0 ]; then
   flags_tool_static --switch
   reboot
 fi
 
+#l.yang modify for T106BUG-387 start
+if [ -e /dev/mmcblk1p1 ]; then
+  mount -t ext4 /dev/mmcblk1p1 /var/log
+else
+  mkdir -p /mnt/oemdata/log
+  mount  /mnt/oemdata/log /var/log
+fi
+#l.yang modify for T106BUG-387 start
+
+