mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Remove unused setting in omr6in4 for firewall
This commit is contained in:
		
							parent
							
								
									8a73c7f993
								
							
						
					
					
						commit
						f0f710123d
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -28,10 +28,10 @@ set_ipv6_state() {
 | 
			
		|||
	sed -i "s:^net.ipv6.conf.all.disable_ipv6=[0-9]*::" /etc/sysctl.d/zzz_openmptcprouter.conf
 | 
			
		||||
	sysctl -qw net.ipv6.conf.all.disable_ipv6=0
 | 
			
		||||
 | 
			
		||||
	uci -q batch <<-EOF >/dev/null
 | 
			
		||||
		set firewall.@defaults[0].disable_ipv6=$disable_ipv6
 | 
			
		||||
		commit firewall
 | 
			
		||||
	EOF
 | 
			
		||||
	#uci -q batch <<-EOF >/dev/null
 | 
			
		||||
	#	set firewall.@defaults[0].disable_ipv6=$disable_ipv6
 | 
			
		||||
	#	commit firewall
 | 
			
		||||
	#EOF
 | 
			
		||||
 | 
			
		||||
	if [ "$disable_ipv6" = "1" ]; then
 | 
			
		||||
		logger -t "omr-6in4" "Disable IPv6"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue