commit | 95062d4e8d9b864e859738a9ecada63723a2059e | [log] [tgz] |
---|---|---|
author | you.chen <you.chen@mobiletek.cn> | Mon Mar 04 16:31:22 2024 +0800 |
committer | Gerrit Code Review <jenkins2@jenkins2-Vostro-3690> | Mon Mar 04 16:31:22 2024 +0800 |
tree | 551ced15bfef06239873c931aaaac00261f1d6c3 | |
parent | 7bde7b87690f6ed089fd954fd1964fe3ba0990fe [diff] | |
parent | 6f2dd8b5e2ab63cd0c826d4c7f23cfc84c32ae5f [diff] |
Merge "[Bugfix][T106BUG-548] Modify the fscheck.sh script to adjust the order of mount and reboot"
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 + +