pid test 7
This commit is contained in:
parent
5b0fc17c92
commit
458c488450
15
wire_g
15
wire_g
@ -61,6 +61,11 @@ wg_notify(){
|
||||
--menu="Wire-G $open!/sbin/wire_g
|
||||
|$active stop!/sbin/wg_stop" \
|
||||
--command="menu"
|
||||
while [[ -z $active ]]
|
||||
do
|
||||
kill $pid
|
||||
done
|
||||
|
||||
}
|
||||
export -f wg_notify
|
||||
|
||||
@ -146,11 +151,11 @@ remove(){
|
||||
--text-align=center --button=$"OK" --title "Wire-G Trash" \
|
||||
--center --buttons-layout=center --borders=8
|
||||
fi
|
||||
if [ "$selection" = "$active" ]
|
||||
then
|
||||
pkill wire_g
|
||||
kill "$pid"
|
||||
fi
|
||||
# if [ "$selection" = "$active" ]
|
||||
# then
|
||||
# pkill wire_g
|
||||
# kill yad
|
||||
# fi
|
||||
fi }
|
||||
export -f remove
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user