forked from qo-op/G1BILLET
♥Box network ready
This commit is contained in:
parent
e9a0efb7ad
commit
e3fd1d2a20
|
@ -150,7 +150,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 ~${MY_PATH}/♥Box)
|
||||
isBOX=$(cat ${MY_PATH}/♥Box)
|
||||
|
||||
## WHERE DO CLIENT WILL GET FILE
|
||||
if [[ $isLAN ]]; then
|
||||
|
|
Loading…
Reference in New Issue