[Feature][T106_eSDK]update from  T106-M42-PLXXXX-P56U11.AP.19.04_CAP.19.04.01  to  T106-M42-PLXXXX-P56U11.AP.19.05_CAP.19.05 -- rootfs

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

Change-Id: I47beca0a99b77c62a8ab8a02fc3ef054326e6ae0
diff --git a/rootfs/etc/init.d/fscheck.sh b/rootfs/etc/init.d/fscheck.sh
new file mode 100755
index 0000000..56a4b0d
--- /dev/null
+++ b/rootfs/etc/init.d/fscheck.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+
+#cppdemo > /dev/null 2>&1 &
+
+fscheck -f /etc_ro/fscheck/userdata.ini
+
+#q.huang@20230920 add for network start
+mkdir -p /mnt/userdata/ril/network
+#q.huang@20230920 add for network end
+
+
+if [ -d "/etc/selinux" ];then
+  /sbin/restorecon -RF /etc_rw  /mnt/userdata/  /mnt/oemdata/ 
+fi
+
+ab_bootinfo
+if [ $? -eq 1 ]; then
+  /sbin/ubi_mount.sh  /mnt/oem     oem      vol_oem     squashfs
+else
+  /sbin/ubi_mount.sh  /mnt/oem     oem2     vol_oem     squashfs
+fi
+
+if [ $? -ne 0 ]; then
+  flags_tool_static --switch
+  reboot
+fi
+
+#xy.he@20250512 add for bug-view-1113
+if [ ! -L /etc_rw/localtime ]; then
+ln -s "/usr/share/zoneinfo/Asia/Shanghai" /etc_rw/localtime
+fi
+
+#l.yang modify for T106BUG-387 start
+if [ -e /dev/mmcblk1p1 ]; then
+  mount -t ext4 /dev/mmcblk1p1 /var/log
+  if [ $? -ne 0 ]; then
+    mkdir -p /mnt/oemdata/log
+    mount --bind /mnt/oemdata/log /var/log
+  fi     
+else
+  mkdir -p /mnt/oemdata/log
+  mount --bind /mnt/oemdata/log /var/log
+fi
+#l.yang modify for T106BUG-387 start
+
+