mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	No more log for sysctl in omr-6in4
This commit is contained in:
		
							parent
							
								
									3371e3e5c9
								
							
						
					
					
						commit
						e2b7144767
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@ set_shadowsocks_address() {
 | 
			
		|||
set_ipv6_state() {
 | 
			
		||||
	local disable_ipv6="$(uci -q get openmptcprouter.settings.disable_ipv6)"
 | 
			
		||||
	[ -z "$disable_ipv6" ] && disable_ipv6="1"
 | 
			
		||||
	sysctl -w net.ipv6.conf.all.disable_ipv6=$disable_ipv6
 | 
			
		||||
	sysctl -qw net.ipv6.conf.all.disable_ipv6=$disable_ipv6
 | 
			
		||||
	sed -i "s:^net.ipv6.conf.all.disable_ipv6=[0-9]*:net.ipv6.conf.all.disable_ipv6=$disable_ipv6:" /etc/sysctl.d/zzz_openmptcprouter.conf
 | 
			
		||||
 | 
			
		||||
	uci -q batch <<-EOF >/dev/null
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue