import test
This commit is contained in:
		
							
								
								
									
										3
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								wire_g
									
									
									
									
									
								
							@@ -94,7 +94,8 @@ import_wg(){
 | 
			
		||||
                                        nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
 | 
			
		||||
                                        wg_notify                                    
 | 
			
		||||
                                else
 | 
			
		||||
                                        pkill yad
 | 
			
		||||
                                        IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}Notify_PID.txt) ) # Dies zeigt auf die richtige pid
 | 
			
		||||
                                        kill $lines
 | 
			
		||||
                                        nmcli connection import type wireguard file $WG_CONF &> ${WG_WDIR}.tmp.txt
 | 
			
		||||
                                        wg_notify 
 | 
			
		||||
                                fi                                
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user