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