9 lines
170 B
Plaintext
9 lines
170 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# export VPN_NAME=MyVPN from dotfiles/secrets/vpn
|
||
|
if [ "$(nmcli -g GENERAL.STATE con show $VPN_NAME)" == "activated" ]; then
|
||
|
echo ""
|
||
|
else
|
||
|
echo ""
|
||
|
fi
|