mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			172 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			172 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
s=firewall.ss_rules
 | 
						|
uci get "$s" >/dev/null && exit 0
 | 
						|
uci batch <<-EOF
 | 
						|
	set $s=include
 | 
						|
	set $s.path=/etc/firewall.ss-rules
 | 
						|
	set $s.reload=1
 | 
						|
	commit firewall
 | 
						|
EOF
 |