Commit 14656fc7 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Delete server.sh

parent f405a599
Loading
Loading
Loading
Loading

server.sh

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
#!/usr/bin/env bash

set -eu

HTML="<HTML><BODY><H1><CENTER>Please wait while Virtual DSM is installing...</CENTER></H1></BODY></HTML>"
RESPONSE="HTTP/1.1 200 OK\r\nConnection: close\r\n\r\n$HTML\r\n"

while { echo -en "$RESPONSE"; } | nc -lN "${1:-8080}"; do
  echo "================================================"
done