mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-08 17:37:58 +08:00
HTML code
This commit is contained in:
parent
2b36df0a81
commit
c3b86e1d46
@ -45,9 +45,7 @@ else
|
|||||||
BODY="The location of DSM is <a href='http://\${IP}:\${PORT}'>http://\${IP}:\${PORT}</a><script>"
|
BODY="The location of DSM is <a href='http://\${IP}:\${PORT}'>http://\${IP}:\${PORT}</a><script>"
|
||||||
BODY="${BODY}setTimeout(function(){ window.location.assign('http://\${IP}:\${PORT}'); }, 3000);</script>"
|
BODY="${BODY}setTimeout(function(){ window.location.assign('http://\${IP}:\${PORT}'); }, 3000);</script>"
|
||||||
|
|
||||||
printf -v BODY "%q" "$BODY"
|
|
||||||
HTML=$(html "xxx")
|
HTML=$(html "xxx")
|
||||||
printf -v HTML "%q" "$HTML"
|
|
||||||
|
|
||||||
{ echo "#!/bin/bash"
|
{ echo "#!/bin/bash"
|
||||||
echo "INFO=\$(curl -s -m 5 -S http://127.0.0.1:2210/read?command=10 2>/dev/null)"
|
echo "INFO=\$(curl -s -m 5 -S http://127.0.0.1:2210/read?command=10 2>/dev/null)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user