This commit is contained in:
fred 2023-05-06 04:07:34 +02:00
parent 6323455a1a
commit 5a9cf7706a
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ else
#####################################################################
myIP=$(hostname -I | awk '{print $1}' | head -n 1)
isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/")
isBOX=$(cat ~/.zen/♥BOX)
isBOX=$(cat ~/.zen/♥Box)
if [[ $isLAN ]]; then
HNAME="http://g1billet.localhost"