Wait message

This commit is contained in:
Kroese 2023-05-09 01:54:13 +02:00 committed by GitHub
parent 6d6d08c2a8
commit 772a2e0b25

View File

@ -1,12 +1,9 @@
#!/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"