commit | b16db699797837dd93a89da9732563a2b2898183 | [log] [tgz] |
---|---|---|
author | lh <lh@exm.com> | Thu Jun 15 17:02:17 2023 +0800 |
committer | Gerrit Code Review <jenkins2@jenkins2-Vostro-3690> | Thu Jun 15 17:02:17 2023 +0800 |
tree | 537947b503ca726157ebbd47f45d5f357de1ae24 | |
parent | 06c93ca04e38fb07e75fba69000d0c5bcab23b87 [diff] | |
parent | 35f958d703a0f71b712deeeb87a5bfebc582d109 [diff] |
Merge "[Feature][ZXW-43][log] change default syslog level to debug"
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc/fs/normal/rootfs/etc/init.d/fscheck.sh b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc/fs/normal/rootfs/etc/init.d/fscheck.sh index fc6ecc4..7aa0f8a 100755 --- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc/fs/normal/rootfs/etc/init.d/fscheck.sh +++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc/fs/normal/rootfs/etc/init.d/fscheck.sh
@@ -4,6 +4,15 @@ mkdir -p /mnt/userdata/cache mkdir -p /mnt/userdata/var/run mkdir -p /mnt/userdata/var/log + +if [ -b /dev/mmcblk1p1 ]; then + if [ -f /run/media/mmcblk1p1 ]; then + mount --bind /run/media/mmcblk1p1 /var/log + else + mount /dev/mmcblk1p1 /mnt/userdata/var/log + fi +fi + #mkdir -p /mnt/userdata/etc_rw ab_bootinfo