mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
Redirect
This commit is contained in:
parent
0fce3a3cf9
commit
95f74c9a43
@ -205,7 +205,11 @@ else
|
||||
configureDHCP
|
||||
|
||||
# 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user