exit 0 & wire_g test
This commit is contained in:
		
							
								
								
									
										2
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wire_g
									
									
									
									
									
								
							@@ -97,7 +97,7 @@ import_wg(){
 | 
			
		||||
                                                    --image=${wg_pic}wg-info.png --button "OK" \
 | 
			
		||||
                                                    --text "Tunnelname existiert schon." \
 | 
			
		||||
                                                    --text-align=center --title=$"Wireguard .conf Select file"
 | 
			
		||||
                                                    exit 0
 | 
			
		||||
                                                    exit 0 & wire_g
 | 
			
		||||
                                            done 
 | 
			
		||||
                                active=$(nmcli connection show --active | grep -iPo "(.*)(wireguard)" | sed 's/  .*//')
 | 
			
		||||
                                if [[ -n $active ]]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user