mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Disable interface rename by default
This commit is contained in:
		
							parent
							
								
									bc7fb24b22
								
							
						
					
					
						commit
						4535f2ad44
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -114,6 +114,13 @@ if [ "$(uci -q get openmptcprouter.settings.menu)" = "" ]; then | |||
| 	EOF | ||||
| fi | ||||
| 
 | ||||
| if [ "$(uci -q get openmptcprouter.settings.disableintfrename)" = "" ]; then | ||||
| 	uci -q batch <<-EOF >/dev/null | ||||
| 		set openmptcprouter.settings.disableintfrename='1' | ||||
| 		commit openmptcprouter | ||||
| 	EOF | ||||
| fi | ||||
| 
 | ||||
| sed -i 's/net.ipv4.tcp_retries2=3$/net.ipv4.tcp_retries2=15/' /etc/sysctl.d/zzz_openmptcprouter.conf | ||||
| 
 | ||||
| exit 0 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue