Suppression du tunnel VPN

This commit is contained in:
Damien Broqua 2022-11-10 07:30:42 +01:00
parent 41bae1a048
commit 17c8d2f4ab

View file

@ -177,10 +177,3 @@ export NVM_DIR="$HOME/.nvm"
# export MOZ_ENABLE_WAYLAND=1
# exec sway
#fi
ip addr show tun0 > /dev/null 2>&1
EXISTS=$?
if [ `hostname` = "marty" ] && [ ${EXISTS} -ne 0 ] ; then
echo "Connecting people :|"
nmcli connection up VPN-DarKou --ask
fi