test 14 pid
This commit is contained in:
parent
a666c7f915
commit
17a289ecef
9
wire_g
9
wire_g
@ -90,17 +90,12 @@ import_wg(){
|
||||
wg_stop
|
||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
kill -n $pid
|
||||
wire_g
|
||||
|
||||
|
||||
else
|
||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
fi
|
||||
kill -n $pid
|
||||
wire_g
|
||||
|
||||
fi
|
||||
fi ;;
|
||||
|
||||
*) yad --button=$"OK" --title=$"Wireguard .conf Select file" \
|
||||
@ -151,6 +146,8 @@ remove(){
|
||||
--text-align=center --button=$"OK" --title "Wire-G Trash" \
|
||||
--center --buttons-layout=center --borders=8
|
||||
fi
|
||||
kill -n $pid
|
||||
wire_g
|
||||
if [ "$selection" = "$active" ]
|
||||
then
|
||||
pkill wire_g
|
||||
|
Loading…
x
Reference in New Issue
Block a user