fix function order

This commit is contained in:
Alfonso Gamboa
2022-07-15 11:46:18 -07:00
parent c6f6674e4b
commit 2365a35749
4 changed files with 11 additions and 11 deletions

View File

@@ -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!"

View File

@@ -1 +1 @@
Fri Jul 15 11:35:28 AM PDT 2022
Fri Jul 15 11:46:04 AM PDT 2022

View File

@@ -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 ]