#!/usr/bin/env sh # Check if wireguard VPN is active if nmcli c show --active | grep -q wireguard; then echo "" # If not, check if the connection named "YapiBiche" is active elif nmcli c show --active | grep -q "YapiBiche"; then echo "" # If neither is active, return "NO" else echo "" fi