Stop Medung Bildkorrektur
This commit is contained in:
parent
cddec9ff5f
commit
d724746122
2
wire_g
2
wire_g
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user