mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-09 20:14:04 +00:00
fix function order
This commit is contained in:
@@ -16,8 +16,8 @@ echo "CAR: c: reverse right"
|
||||
echo "CAR: x: all stop"
|
||||
echo "CAR: h: headlight on/off"
|
||||
echo "CAR: j: irled on/off"
|
||||
|
||||
echo "CAR: use 1 to quit ASAP!"
|
||||
echo -e ""
|
||||
echo "CAR: 1: quit ASAP!"
|
||||
echo -e ""
|
||||
echo "Ready!"
|
||||
|
||||
|
@@ -1 +1 @@
|
||||
Fri Jul 15 11:35:28 AM PDT 2022
|
||||
Fri Jul 15 11:46:04 AM PDT 2022
|
||||
|
@@ -21,11 +21,6 @@ fi
|
||||
|
||||
set -x
|
||||
|
||||
if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
|
||||
#Reboot as soon as we see "img", this means an update is incoiming
|
||||
reboot
|
||||
fi
|
||||
|
||||
event="$1"
|
||||
directory="$2"
|
||||
file="$3"
|
||||
@@ -35,6 +30,11 @@ case "$event" in
|
||||
|
||||
set -x
|
||||
|
||||
if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
|
||||
#Reboot as soon as we see "img", this means an update is incoiming
|
||||
reboot
|
||||
fi
|
||||
|
||||
#hook the v2
|
||||
if cat /params/config/.product_config | grep WYZEC1-JZ; then
|
||||
while [ ! -f /tmp/Upgrade/upgraderun.sh ]
|
||||
|
Reference in New Issue
Block a user