mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	To prevent code duplication for clearing QoS firewall rules, support "firewall stop" arguments to generate.sh to generate the necessary script commands. Make use of this from qos-stop. Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com> SVN-Revision: 28623
		
			
				
	
	
		
			7 lines
		
	
	
		
			224 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			224 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| for iface in $(tc qdisc show | grep -E '(hfsc|ingress)' | awk '{print $5}'); do
 | |
| 	tc qdisc del dev "$iface" ingress 2>&- >&-
 | |
| 	tc qdisc del dev "$iface" root 2>&- >&-
 | |
| done
 | |
| /usr/lib/qos/generate.sh firewall stop | sh
 |