File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/static/static/home/yi-hack-v5/script Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- # 0.4.1c
3+ # 0.4.1d
44
55CONF_FILE=" etc/system.conf"
66
@@ -91,6 +91,11 @@ if [[ "$(grep -m 3 -n '' /home/app/cloudAPI_fake | tail -n 1 | cut -d ':' -f 2 |
9191 cp -f $YI_HACK_PREFIX /script/cloudAPI_fake /home/app/
9292fi
9393
94+ # Update cloudAPI if necessary
95+ if [[ " $( grep -m 3 -n ' ' /home/app/cloudAPI | tail -n 1 | cut -d ' :' -f 2 | cut -c 3-) " != " $( grep -m 3 -n ' ' $YI_HACK_PREFIX /script/cloudAPI | tail -n 1 | cut -d ' :' -f 2 | cut -c 3-) " ]]; then
96+ cp -f $YI_HACK_PREFIX /script/cloudAPI /home/app/
97+ fi
98+
9499# Manual Wi-Fi config
95100if [ -f /tmp/sd/recover/configure_wifi.cfg ]; then
96101 mv /tmp/sd/recover/configure_wifi.cfg /tmp/configure_wifi.cfg
You can’t perform that action at this time.
0 commit comments