yad notify pid wird gespeichert
This commit is contained in:
		
							
								
								
									
										4
									
								
								wg_stop
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wg_stop
									
									
									
									
									
								
							@@ -41,8 +41,8 @@ export TEXTDOMAINDIR="/usr/share/locale"
 | 
			
		||||
                  --text=$"<span color='#0fad0a'><b>"$VALUE" Connection disconnected</b></span>"
 | 
			
		||||
      fi
 | 
			
		||||
    done 
 | 
			
		||||
  IFS=$'\n' lines=( $(cat ${WG_WDIR}Notify_PID.txt) )
 | 
			
		||||
    kill $lines #> /dev/null 2>&1 
 | 
			
		||||
  IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid
 | 
			
		||||
    kill -n "$lines" #> /dev/null 2>&1 
 | 
			
		||||
 | 
			
		||||
#################################   END   ##################################################################
 | 
			
		||||
############################################################################################################ 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user