test 7 remove
This commit is contained in:
parent
67c63633b2
commit
36378cf665
11
wire_g
11
wire_g
@ -89,13 +89,12 @@ import_wg(){
|
||||
then
|
||||
wg_stop
|
||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
wg_notify && wire_g
|
||||
else
|
||||
pkill yad
|
||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
fi
|
||||
wire_g
|
||||
wg_notify && wire_g
|
||||
fi
|
||||
fi ;;
|
||||
|
||||
*) yad --button=$"OK" --title=$"Wireguard .conf Select file" \
|
||||
@ -199,8 +198,8 @@ connect(){
|
||||
then
|
||||
pkill yad
|
||||
nmcli con mod $selection connection.autoconnect no
|
||||
wg_notify
|
||||
wire_g
|
||||
wg_notify && wire_g
|
||||
|
||||
fi }
|
||||
|
||||
# function end
|
||||
|
Loading…
Reference in New Issue
Block a user