From 50d451dec5c553b52857a379ac7df0c7ac929a05 Mon Sep 17 00:00:00 2001 From: Alfonso Gamboa Date: Thu, 16 Jun 2022 01:07:19 -0700 Subject: [PATCH] fix paths due to adjustments in upgrade-run --- README.md | 2 ++ SD_ROOT/wz_mini/bin/upgrade-run.sh | 4 ++-- SD_ROOT/wz_mini/etc/init.d/wz_init.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91ed8bc..a0d8ad3 100644 --- a/README.md +++ b/README.md @@ -360,7 +360,9 @@ exposure value support --- +``` ENABLE_RTL8189FS_DRIVER="false" +``` Use a newer version of the driver for the RTL8189FTV on v2/v3. May result in better wireless connection/performance. Experimental. diff --git a/SD_ROOT/wz_mini/bin/upgrade-run.sh b/SD_ROOT/wz_mini/bin/upgrade-run.sh index ace155d..0835e43 100755 --- a/SD_ROOT/wz_mini/bin/upgrade-run.sh +++ b/SD_ROOT/wz_mini/bin/upgrade-run.sh @@ -43,8 +43,8 @@ fi install_upgrade_script() { echo "Installing latest upgrade-script" -cp /opt/Upgrade/wz_mini_hacks-master/SD_ROOT/wz_mini/usr/bin/upgrade-run.sh /opt/wz_mini/usr/bin/upgrade-run.sh -/opt/wz_mini/usr/bin/upgrade-run.sh backup_begin +cp /opt/Upgrade/wz_mini_hacks-master/SD_ROOT/wz_mini/usr/bin/upgrade-run.sh /opt/wz_mini/bin/upgrade-run.sh +/opt/wz_mini/bin/upgrade-run.sh backup_begin } backup_begin() { diff --git a/SD_ROOT/wz_mini/etc/init.d/wz_init.sh b/SD_ROOT/wz_mini/etc/init.d/wz_init.sh index 0181277..8967091 100755 --- a/SD_ROOT/wz_mini/etc/init.d/wz_init.sh +++ b/SD_ROOT/wz_mini/etc/init.d/wz_init.sh @@ -188,7 +188,7 @@ elif [[ "$WEB_CAM_ENABLE" == "true" ]]; then elif [[ -d /opt/Upgrade ]]; then sed -i '/app_init.sh/,+4d' /opt/wz_mini/tmp/.storage/rcS sed -i '/^# Run init/i/bin/sh /etc/profile' /opt/wz_mini/tmp/.storage/rcS - sed -i '/^# Mount configs.*/i/opt/wz_mini/usr/bin/upgrade-run.sh &\n' /opt/wz_mini/tmp/.storage/rcS + sed -i '/^# Mount configs.*/i/opt/wz_mini/bin/upgrade-run.sh &\n' /opt/wz_mini/tmp/.storage/rcS touch /tmp/dbgflag fi