doppeltunnel 4
This commit is contained in:
		
							
								
								
									
										7
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								wire_g
									
									
									
									
									
								
							@@ -91,10 +91,9 @@ import_wg(){
 | 
			
		||||
 | 
			
		||||
                *_*.conf) if grep -i 'PEER\|PublicKey' $wgconf  > /dev/null &&  grep -i 'Interface\|PrivateKey' $wgconf > /dev/null
 | 
			
		||||
                            then
 | 
			
		||||
                                    IFS=$'\n' lines=( $(cat ${wg_wdir}.tunnel.txt) ) 
 | 
			
		||||
                                        for wgconf in "${lines[@]}"
 | 
			
		||||
                                            do 
 | 
			
		||||
                                                yad --window-icon=${wg_pic}wg-stop.png \
 | 
			
		||||
                                for wgconf in $(cat ${wg_wdir}.tunnel.txt)
 | 
			
		||||
                                    do 
 | 
			
		||||
                                    yad --window-icon=${wg_pic}wg-stop.png \
 | 
			
		||||
                                                    --image=${wg_pic}wg-info.png --button "OK" \
 | 
			
		||||
                                                    --text "Tunnelname existiert schon." \
 | 
			
		||||
                                                    --text-align=center --title=$"Wireguard .conf Select file"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user