mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	No error if VPN is set to none
This commit is contained in:
		
							parent
							
								
									5d01896434
								
							
						
					
					
						commit
						8e3a6ced89
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -804,6 +804,8 @@ function interfaces_status()
 | 
			
		|||
				mArray.openmptcprouter["tun6_state"] = "DOWN"
 | 
			
		||||
			end
 | 
			
		||||
		end
 | 
			
		||||
	elseif uci:get("openmptcprouter","settings","vpn") == "none" then
 | 
			
		||||
		mArray.openmptcprouter["tun_service"] = true
 | 
			
		||||
	end
 | 
			
		||||
	
 | 
			
		||||
	-- check Shadowsocks is running
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue