Commit 36e86130 authored by Kroese's avatar Kroese
Browse files

Fallback URL's

parent feb778e2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
#!/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)