Notify pid

This commit is contained in:
2023-11-15 17:56:10 +01:00
parent 155547063e
commit bec2e44736
2 changed files with 3 additions and 2 deletions

3
wire_g
View File

@ -61,7 +61,8 @@ wg_notify(){
--menu="Wire-G $OPEN!/sbin/wire_g
|$ACTIVE stop!/sbin/wg_stop" \
--command="menu"
# Schreib die pid von Notify in
ps aux | grep yad | grep -v grep | awk '{print $2}' > ${WG_WDIR}Notify_PID.txt
}
export -f wg_notify