diff --git a/run/network.sh b/run/network.sh
index 418699c..b2201e6 100644
--- a/run/network.sh
+++ b/run/network.sh
@@ -230,10 +230,6 @@ if [ "$DHCP" != "Y" ]; then
# Configuration for static IP
configureNAT
- # Display wait message on port 5000
- HTML="Please wait while Virtual DSM is booting..."
-
else
if [[ "$GATEWAY" == "172."* ]]; then
@@ -248,11 +244,11 @@ else
HTML="The location of DSM is http://${DHCP_IP}:5000"
-fi
+ pkill -f server.sh || true
+ /run/server.sh 80 "${HTML}" > /dev/null &
+ /run/server.sh 5000 "${HTML}" > /dev/null &
-pkill -f server.sh
-/run/server.sh 80 "${HTML}" > /dev/null &
-/run/server.sh 5000 "${HTML}" > /dev/null &
+fi
NET_OPTS="${NET_OPTS} -device virtio-net-pci,romfile=,netdev=hostnet0,mac=${VM_NET_MAC},id=net0"