From 476c16a176e8cafee6399cbff61437dbacab2ff2 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 14 Apr 2023 01:03:55 +0200 Subject: [PATCH] Fallback URL's --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 98235a2..4267291 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,12 @@ #!/usr/bin/env bash 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" BASE=$(basename "$URL" .pat)