Unverified Commit 7fde6c76 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Refresh installation page

parent 4682f577
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2,7 +2,13 @@
set -eu

# 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"

@@ -139,8 +145,6 @@ if [[ SIZE -ne SYSTEM_SIZE ]]; then
  echo "ERROR: System disk has the wrong size: ${SIZE}" && exit 90
fi

echo "Install: Creating partition table..."

PART="$TMP/partition.fdisk"

{	echo "label: dos"