fix go2rtc.yaml backup/restore on upgrade

This commit is contained in:
gtxaspec 2023-10-14 17:05:46 -07:00
parent 0a343df7d5
commit 6aaaf17c0b
3 changed files with 5 additions and 3 deletions

View File

@ -82,6 +82,7 @@ cp -r /opt/wz_mini/etc/wireguard /opt/Upgrade/preserve/
cp -r /opt/wz_mini/etc/rc.local.d /opt/Upgrade/preserve/
cp -r /opt/wz_mini/etc/cron /opt/Upgrade/preserve/
cp -r /opt/wz_mini/etc/resolv.dnsmasq /opt/Upgrade/preserve/
cp -r /opt/wz_mini/etc/go2rtc.yml /opt/Upgrade/preserve/
sync
@ -161,6 +162,7 @@ cp -r /opt/Upgrade/preserve/wireguard /opt/wz_mini/etc/
cp -r /opt/Upgrade/preserve/rc.local.d /opt/wz_mini/etc/
cp /opt/Upgrade/preserve/cron/* /opt/wz_mini/etc/cron/
cp /opt/Upgrade/preserve/resolv.dnsmasq /opt/wz_mini/etc/resolv.dnsmasq
cp /opt/Upgrade/preserve/go2rtc.yml /opt/wz_mini/etc/go2rtc.yml
rm -rf /opt/Upgrade
sync

View File

@ -1 +1 @@
Fri Oct 13 04:58:00 PM PDT 2023
Sat Oct 14 05:37:12 PM PDT 2023

View File

@ -156,7 +156,7 @@ a8970288e72c871bff6a4484f1e733d6 SD_ROOT/wz_mini/bin/readelf
3dbed0e1450cb60eca924379f5055c75 SD_ROOT/wz_mini/bin/ffmpeg
e37474a12d76cae16336476cba61e8b8 SD_ROOT/wz_mini/bin/neofetch
7fcc716cda1e024dae1045050a135beb SD_ROOT/wz_mini/bin/audioplay_t31
92d7c4d24c957f2dd1b93ce5a6bcd5aa SD_ROOT/wz_mini/bin/upgrade-run.sh
ebc96d6de39134883fac1573033ec69a SD_ROOT/wz_mini/bin/upgrade-run.sh
98bf2e6258951648cb880c808db7099f SD_ROOT/wz_mini/bin/ser2net
e6a6a9dd8ce138686083a3d4303cea40 SD_ROOT/wz_mini/bin/iperf3
343482b8e6569ff2fbd8563d6e8c58f7 SD_ROOT/wz_mini/bin/fsck.vfat
@ -195,7 +195,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg
b10bdd54c56d8d8de2a27336f17285fe SD_ROOT/wz_mini/usr/bin/patch_icamera.sh
dafffcc1bd1e721d508400686338ceb8 SD_ROOT/wz_mini/usr/bin/imp_helper.sh
580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType
e3fb9d5f89fd94e75c94845d5bb5c74b SD_ROOT/wz_mini/usr/bin/app.ver
f9e7c2e9ca40588bd6e2c09435943fe8 SD_ROOT/wz_mini/usr/bin/app.ver
4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar
9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so
4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so