mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 05:27:24 +00:00
fix paths due to adjustments in upgrade-run
This commit is contained in:
parent
29c1b3c26f
commit
50d451dec5
@ -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.
|
||||
|
||||
|
@ -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() {
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user