Commit 6d6d08c2 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Wait message

parent 5730a2f0
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
#!/usr/bin/env bash
set -Eeuo pipefail

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

{ pkill -f server.sh || true; } 2>/dev/null

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