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
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)
if [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then
GPIO=7
@@ -147,6 +140,13 @@ if [ -f /opt/wz_mini/tmp/.T20 ]; then
mount -t jffs2 /dev/mtdblock4 /system
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"
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