Connexion au VPN sur le laptop
This commit is contained in:
parent
80f4d24c1d
commit
f4a65f7a1a
1 changed files with 6 additions and 0 deletions
|
@ -177,3 +177,9 @@ export NVM_DIR="$HOME/.nvm"
|
||||||
# export MOZ_ENABLE_WAYLAND=1
|
# export MOZ_ENABLE_WAYLAND=1
|
||||||
# exec sway
|
# exec sway
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
|
EXISTS=`ip addr show tun0 > /dev/null && echo $?`
|
||||||
|
if [ `hostname` = "marty" ] && [ ${EXISTS} = 1 ] ; then
|
||||||
|
echo "Connecting people :|"
|
||||||
|
nmcli connection up VPN-DarKou --ask
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue