Suppression du tunnel VPN
This commit is contained in:
parent
41bae1a048
commit
17c8d2f4ab
1 changed files with 0 additions and 7 deletions
|
@ -177,10 +177,3 @@ export NVM_DIR="$HOME/.nvm"
|
||||||
# export MOZ_ENABLE_WAYLAND=1
|
# export MOZ_ENABLE_WAYLAND=1
|
||||||
# exec sway
|
# exec sway
|
||||||
#fi
|
#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
|
|
||||||
|
|
Loading…
Reference in a new issue