Fallback URL's

This commit is contained in:
Kroese 2023-04-14 01:03:55 +02:00
parent 4157cc6c00
commit 476c16a176

View File

@ -1,6 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -eu set -eu
if [ -z $URL ]; then
#URL="https://global.synologydownload.com/download/DSM/beta/7.2/64216/DSM_VirtualDSM_64216.pat"
#URL="https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_VirtualDSM_42218.pat"
URL="https://global.synologydownload.com/download/DSM/release/7.1.1/42962-1/DSM_VirtualDSM_42962.pat"
fi
IMG="/storage" IMG="/storage"
BASE=$(basename "$URL" .pat) BASE=$(basename "$URL" .pat)