$(hostname -I | awk '{print $1}' | head -n 1)
This commit is contained in:
parent
7be3a4d6c2
commit
12752efa91
|
@ -139,7 +139,7 @@ isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.1
|
|||
if [[ $isLAN ]]; then
|
||||
HNAME="http://g1billet.localhost"
|
||||
else
|
||||
HNAME="http://vmi891906.contaboserver.net"
|
||||
HNAME="http://$(hostname -I | awk '{print $1}' | head -n 1)"
|
||||
fi
|
||||
RNAME="$HNAME:33102"
|
||||
|
||||
|
|
Loading…
Reference in New Issue