Refresh installation page

This commit is contained in:
Kroese 2023-04-21 21:57:05 +02:00 committed by GitHub
parent 9f459f9886
commit 04820ec9f9

View File

@ -2,7 +2,13 @@
set -eu set -eu
# Display wait message on port 5000 # Display wait message on port 5000
/run/server.sh 5000 "Please wait while Virtual DSM is installing..." > /dev/null &
HTML="Please wait while Virtual DSM is installing...<script>\
setTimeout(() => { document.location.reload(); }, 9999);</script>"
/run/server.sh 5000 "${HTML}" > /dev/null &
# Download the required files from the Synology website
DL="https://global.synologydownload.com/download/DSM" DL="https://global.synologydownload.com/download/DSM"
@ -139,8 +145,6 @@ if [[ SIZE -ne SYSTEM_SIZE ]]; then
echo "ERROR: System disk has the wrong size: ${SIZE}" && exit 90 echo "ERROR: System disk has the wrong size: ${SIZE}" && exit 90
fi fi
echo "Install: Creating partition table..."
PART="$TMP/partition.fdisk" PART="$TMP/partition.fdisk"
{ echo "label: dos" { echo "label: dos"