[UPDATE] Check IP service client/server

This commit is contained in:
2022-03-17 13:28:40 +01:00
parent ec27b17ed6
commit 034f15c009
2 changed files with 2 additions and 2 deletions
@@ -18,7 +18,7 @@ if [[ $(id -u) != "0" ]]
Exit root
fi
[[ ! -z $(ifconfig | grep inet | awk '{print $2}' | grep $LocalIp) ]] && Exit Config
[[ -z $(ifconfig | grep inet | awk '{print $2}' | grep $LocalIp) ]] && Exit Config