korrektur pid 4
This commit is contained in:
parent
01b9cb58a1
commit
a6145104e2
4
wire_g
4
wire_g
@ -236,12 +236,12 @@ if selection=$(yad --no-klick --list --center \
|
|||||||
wg_stop
|
wg_stop
|
||||||
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}')
|
export pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||||
bg %$pid
|
bg %$pid
|
||||||
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}')
|
export pid=$(ps aux | grep yad | grep -v grep | awk '{print $2}')
|
||||||
bg %$pid
|
bg %$pid
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user