commit | 3c616bc59947a5a0a4ac16afdc6d6e385a23e991 | [log] [tgz] |
---|---|---|
author | jb.qi <jb.qi@mobiletek.cn> | Mon Sep 18 05:15:38 2023 -0700 |
committer | jb.qi <jb.qi@mobiletek.cn> | Mon Sep 18 05:15:38 2023 -0700 |
tree | d36675c088607023c12008dc72ee8f7b12655601 | |
parent | 3c9b89290bbbc2967d3877883d1d09784cbee871 [diff] |
[Bugfix][T106BUG-184]fix uci cant change after reboot Only Configure: No Affected branch: master Affected module: uci Is it affected on both ZXIC and MTK: only ZXIC Self-test: Yes Doc Update: No Change-Id: If3c08a20187c9727d04a05b838d72c4fdbe6e169
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/zcatlog_config.sh b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/zcatlog_config.sh index 604cd22..b6946d5 100755 --- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/zcatlog_config.sh +++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-core/images/files/zx297520v3/vehicle_dc_ref/fs/normal/rootfs/etc/init.d/zcatlog_config.sh
@@ -1,7 +1,9 @@ #!/bin/sh -if [ ! -f "/mnt/userdata/config" ];then +if [ ! -d "/mnt/userdata/config/" ];then cp -R /etc/config /mnt/userdata/ +else + echo "uci config has exist" fi # 0 for usb, 1 for net