mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Add SQM on omrvpn interface
This commit is contained in:
		
							parent
							
								
									b8b7cca346
								
							
						
					
					
						commit
						c9947bad3e
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -308,8 +308,11 @@ function wizard_add()
 | 
			
		|||
	end
 | 
			
		||||
	if vpn_intf ~= "" then
 | 
			
		||||
		ucic:set("network","omrvpn","ifname",vpn_intf)
 | 
			
		||||
		ucic:set("sqm","omrvpn","interface",vpn_intf)
 | 
			
		||||
		ucic:save("network")
 | 
			
		||||
		ucic:commit("network")
 | 
			
		||||
		ucic:save("sqm")
 | 
			
		||||
		ucic:commit("sqm")
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
	-- Retrieve all server settings
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue