#!/bin/sh if [ -n "$(nmcli connection show rezine_vpn37_udp | grep activated)" ] ; then nmcli connection down rezine_vpn37_udp else nmcli connection up rezine_vpn37_udp fi