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