tunnel an tunnel aus fix
This commit is contained in:
		
							
								
								
									
										4
									
								
								wire_g
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								wire_g
									
									
									
									
									
								
							@@ -53,7 +53,7 @@ wg_stop(){
 | 
			
		||||
                  --undecorated --borders=8 --skip-taskbar \
 | 
			
		||||
                  --text-align=center --no-buttons \
 | 
			
		||||
                  --timeout 2 --timeout-indicator=bottom \
 | 
			
		||||
                  --text=$"<span color='#0fad0a'><b>"$VALUE" Connection</b></span><span>" "<b>disconnected</b></span>"
 | 
			
		||||
                  --text=$"<span color='#0fad0a'><b>"$VALUE" Connection</b></span><span>   <b>disconnected</b></span>"
 | 
			
		||||
      fi
 | 
			
		||||
    done 
 | 
			
		||||
    IFS=$'\n' lines=( $(awk '{print $2}' ${WG_WDIR}for-kill_pid.txt) )
 | 
			
		||||
@@ -78,7 +78,7 @@ wg_notify(){
 | 
			
		||||
            --undecorated --borders=8 --skip-taskbar \
 | 
			
		||||
            --text-align=center --no-buttons --auto-close \
 | 
			
		||||
            --timeout 2 --timeout-indicator=bottom \
 | 
			
		||||
            --text=$"<span color='#0fad0a'><b>"$ACTIVE"</b></span>" "<span><b>powered</b></span>" &
 | 
			
		||||
            --text=$"<span color='#0fad0a'><b>"$ACTIVE"</b></span>   <span><b>powered</b></span>" &
 | 
			
		||||
    # autoconnect wird hier abgeschalten damit auch neu importierte nach einem Systemneustart nicht aktiv sind
 | 
			
		||||
    nmcli con mod "$ACTIVE" connection.autoconnect no 
 | 
			
		||||
   
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user