Commit 772a2e0b authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Wait message

parent 6d6d08c2
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
#!/usr/bin/env bash
set -Eeuo pipefail

HTML="Please wait while Virtual DSM is installing...<script>\
      setTimeout(() => { document.location.reload(); }, 9999);</script>"

# Display wait message on port 5000
/run/server.sh 80 "${HTML}" &
/run/server.sh 5000 "${HTML}" &
# Display wait message
/run/server.sh 80 install &
/run/server.sh 5000 install &

# Download the required files from the Synology website
DL="https://global.synologydownload.com/download/DSM"