mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 13:37:19 +00:00
enhance upgrade script to install the latest version of itself upon extraction
This commit is contained in:
parent
822d614789
commit
e3091085e5
@ -44,6 +44,9 @@ cp -r /opt/wz_mini/etc/ssh /opt/Upgrade/preserve/
|
||||
cp -r /opt/wz_mini/etc/wireguard /opt/Upgrade/preserve/
|
||||
sync
|
||||
|
||||
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
|
||||
|
||||
echo "Rebooting into UPGRADE MODE"
|
||||
reboot
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user