mirror of
				https://github.com/kenzok8/openwrt-packages.git
				synced 2025-10-30 07:50:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			285 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			285 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| echo "create china hash:net family inet hashsize 1024 maxelem 65536" > /tmp/china.ipset
 | |
| awk '!/^$/&&!/^#/{printf("add china %s'" "'\n",$0)}' /usr/share/clash/china_ip.txt >> /tmp/china.ipset
 | |
| ipset -! flush china
 | |
| ipset -! restore < /tmp/china.ipset 2>/dev/null
 | |
| rm -f /tmp/china.ipset
 | |
|  
 | 
![github-actions[bot]](/assets/img/avatar_default.png)