remote ip delete local ip comparaison

This commit is contained in:
guillaume 2024-03-30 11:44:35 +01:00
parent 6beee1e2ba
commit 241ee2385f

View File

@ -18,7 +18,7 @@ if [[ $(id -u) != "0" ]]
Exit root Exit root
fi fi
[[ -z $(ifconfig | grep inet | awk '{print $2}' | grep $RemoteIp) ]] && Exit Config #[[ -z $(ifconfig | grep inet | awk '{print $2}' | grep $RemoteIp) ]] && Exit Config