mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
change order of detection for car
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -1 +1 @@
|
||||
Wed Jul 13 06:01:39 PM PDT 2022
|
||||
Wed Jul 13 06:14:04 PM PDT 2022
|
||||
|
Reference in New Issue
Block a user