mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Redirect
This commit is contained in:
parent
0fce3a3cf9
commit
95f74c9a43
@ -205,7 +205,11 @@ else
|
|||||||
configureDHCP
|
configureDHCP
|
||||||
|
|
||||||
# Display the received IP on port 5000
|
# Display the received IP on port 5000
|
||||||
/run/server.sh 5000 "The location of DSM is http://${DHCP_IP}:5000" > /dev/null &
|
|
||||||
|
HTML="The location of DSM is http://${DHCP_IP}:5000<script>\
|
||||||
|
setTimeout(function(){ window.location.replace("http://${DHCP_IP}:5000"); }, 2000);</script>"
|
||||||
|
|
||||||
|
/run/server.sh 5000 "${HTML}" > /dev/null &
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user