Stop Medung Bildkorrektur

This commit is contained in:
Désiré Werner Menrath 2023-11-01 13:21:30 +01:00
parent cddec9ff5f
commit d724746122

2
wire_g
View File

@ -127,6 +127,8 @@ export -f remove
############################################################################################################
#funktion for active tunnel a stop
up_or_down(){
a_user=$(whoami)
wg_pic="/home/$a_user/.icons/"
active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/ .*//')
if [[ -z $active ]]
then