mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Set congestion to BBR by default
This commit is contained in:
		
							parent
							
								
									63a31e6a09
								
							
						
					
					
						commit
						156e06ba13
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,12 +4,18 @@ if [ "$(uci -q show network.globals | grep mptcp_path_manager)" = "" ]; then
 | 
			
		|||
	set network.globals.multipath='enable'
 | 
			
		||||
	set network.globals.mptcp_path_manager='fullmesh'
 | 
			
		||||
	set network.globals.mptcp_scheduler='default'
 | 
			
		||||
	set network.globals.congestion='olia'
 | 
			
		||||
	set network.globals.congestion='bbr'
 | 
			
		||||
	set network.globals.mptcp_checksum=0
 | 
			
		||||
	set network.globals.mptcp_syn_retries=5
 | 
			
		||||
	commit network
 | 
			
		||||
	EOF
 | 
			
		||||
fi
 | 
			
		||||
if [ "$(uci -q get network.globals.congestion)" != "bbr" ]; then
 | 
			
		||||
	uci -q batch <<-EOF
 | 
			
		||||
	set network.globals.congestion=bbr
 | 
			
		||||
	commit network
 | 
			
		||||
	EOF
 | 
			
		||||
fi
 | 
			
		||||
if [ "$(uci -q get network.globals.mptcp_syn_retries)" != "5" ]; then
 | 
			
		||||
	uci -q batch <<-EOF
 | 
			
		||||
	set network.globals.mptcp_syn_retries=5
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue