fix paths due to adjustments in upgrade-run

This commit is contained in:
Alfonso Gamboa 2022-06-16 01:07:19 -07:00
parent 29c1b3c26f
commit 50d451dec5
3 changed files with 5 additions and 3 deletions

View File

@ -360,7 +360,9 @@ exposure value support
--- ---
```
ENABLE_RTL8189FS_DRIVER="false" 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. Use a newer version of the driver for the RTL8189FTV on v2/v3. May result in better wireless connection/performance. Experimental.

View File

@ -43,8 +43,8 @@ fi
install_upgrade_script() { install_upgrade_script() {
echo "Installing latest 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 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/usr/bin/upgrade-run.sh backup_begin /opt/wz_mini/bin/upgrade-run.sh backup_begin
} }
backup_begin() { backup_begin() {

View File

@ -188,7 +188,7 @@ elif [[ "$WEB_CAM_ENABLE" == "true" ]]; then
elif [[ -d /opt/Upgrade ]]; then elif [[ -d /opt/Upgrade ]]; then
sed -i '/app_init.sh/,+4d' /opt/wz_mini/tmp/.storage/rcS 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 '/^# 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 touch /tmp/dbgflag
fi fi