ref: 57accdce66f2e6f1c6ed26c42b57cdefdec2ed24
bin/is-vpn-connected
#!/usr/bin/env bash # Status code: # # 0 => Connected # 1 => Not connected nmcli connection show --active | grep vpn