mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Refresh installation page
This commit is contained in:
parent
9f459f9886
commit
04820ec9f9
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user