test 11
This commit is contained in:
parent
1c3be67954
commit
e4cf040c49
6
wire_g
6
wire_g
@ -246,14 +246,12 @@ if selection=$(yad --no-klick --list --center \
|
||||
nmcli connection up $selection &> ${wg_wdir}.tmp.txt
|
||||
connect
|
||||
pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||
kill $pid
|
||||
wire_g
|
||||
kill $pid && wire_g
|
||||
else
|
||||
nmcli connection up $selection &> ${wg_wdir}.tmp.txt
|
||||
connect
|
||||
pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||
kill $pid
|
||||
wire_g
|
||||
kill $pid && wire_g
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user