commit | 6f2dd8b5e2ab63cd0c826d4c7f23cfc84c32ae5f | [log] [tgz] |
---|---|---|
author | l.yang <l.yang@mobiletek.cn> | Fri Mar 01 11:43:34 2024 +0800 |
committer | l.yang <l.yang@mobiletek.cn> | Fri Mar 01 11:43:34 2024 +0800 |
tree | de72b91b8d72b5dfb3637ab09b5d5d97295f4013 | |
parent | d24ba8e1e0cc095315402d9d15a39c9fe1448bf3 [diff] |
[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 + +