change order of detection for car

This commit is contained in:
Alfonso Gamboa 2022-07-13 18:16:09 -07:00
parent 77a4bdd8f0
commit 3fa72158e7
3 changed files with 10 additions and 10 deletions

View File

@ -71,13 +71,6 @@ elif [ -b /dev/mtdblock6 ]; then
rm -rf /opt/wz_mini/tmp/configs rm -rf /opt/wz_mini/tmp/configs
fi fi
#Check for Car FW
if [ -f /opt/wz_mini/tmp/.WYZEC1-JZ ]; then
if cat /system/bin/app.ver | grep 4.55; then
touch /opt/wz_mini/tmp/.CAR
fi
fi
#Set the correct GPIO for the audio driver (T31 only) #Set the correct GPIO for the audio driver (T31 only)
if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
GPIO=7 GPIO=7
@ -147,6 +140,13 @@ if [ -f /opt/wz_mini/tmp/.T20 ]; then
mount -t jffs2 /dev/mtdblock4 /system mount -t jffs2 /dev/mtdblock4 /system
fi fi
#Check for Car FW
if [ -f /opt/wz_mini/tmp/.WYZEC1-JZ ]; then
if cat /system/bin/app.ver | grep 4.55; then
touch /opt/wz_mini/tmp/.CAR
fi
fi
echo "Copy factory app_init.sh" echo "Copy factory app_init.sh"
cp /system/init/app_init.sh /opt/wz_mini/tmp/.storage/app_init.sh cp /system/init/app_init.sh /opt/wz_mini/tmp/.storage/app_init.sh

View File

@ -1 +1 @@
Wed Jul 13 06:01:39 PM PDT 2022 Wed Jul 13 06:14:04 PM PDT 2022

View File

@ -3,7 +3,7 @@ d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/mnt/.gitignore
28cf061770da7b83fbc3752c455a02c3 SD_ROOT/wz_mini/etc/dnsmasq.conf 28cf061770da7b83fbc3752c455a02c3 SD_ROOT/wz_mini/etc/dnsmasq.conf
34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config 34c6a4c3a941ff2becd9f487826d7692 SD_ROOT/wz_mini/etc/uvc.config
ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh ad7d1a2f9db3079617731b5854ce3b6a SD_ROOT/wz_mini/etc/init.d/wz_cam.sh
7dadce0e93f83d3adbef52b75c393eb4 SD_ROOT/wz_mini/etc/init.d/wz_init.sh f97ffcb1482d564bf2557684a4c68846 SD_ROOT/wz_mini/etc/init.d/wz_init.sh
52c9d41071b59825a9b8c66e55289f0d SD_ROOT/wz_mini/etc/init.d/wz_user.sh 52c9d41071b59825a9b8c66e55289f0d SD_ROOT/wz_mini/etc/init.d/wz_user.sh
d87991fe006c4dc0d554b1517d8f1b2c SD_ROOT/wz_mini/etc/init.d/wz_post.sh d87991fe006c4dc0d554b1517d8f1b2c SD_ROOT/wz_mini/etc/init.d/wz_post.sh
e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab
@ -85,7 +85,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg
20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera 20b061689308b2cee7edf3b9b906bca7 SD_ROOT/wz_mini/usr/bin/ucamera
3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh 3777d9e80c8b517c01a124e6360b6525 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType 580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
fc4bd4bc2cf30f35018b9f8641249d7a SD_ROOT/wz_mini/usr/bin/app.ver e5e998dfeb2d6de1ff0890d3aae3f878 SD_ROOT/wz_mini/usr/bin/app.ver
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar 4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so 9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so 4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so