From 2517aebf84c5736fce1dd9403f468824bde52863 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 6 Oct 2006 17:38:48 +0000 Subject: add qos-scripts package port for buildroot-ng git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/qos-scripts/files/usr/bin/qos-stop | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 package/qos-scripts/files/usr/bin/qos-stop (limited to 'package/qos-scripts/files/usr/bin/qos-stop') diff --git a/package/qos-scripts/files/usr/bin/qos-stop b/package/qos-scripts/files/usr/bin/qos-stop new file mode 100755 index 000000000..2275ea12d --- /dev/null +++ b/package/qos-scripts/files/usr/bin/qos-stop @@ -0,0 +1,6 @@ +#!/bin/sh +for iface in $(tc qdisc show | grep hfsc | awk '{print $5}'); do + tc qdisc del dev "$iface" root +done +iptables -t mangle -F +iptables -t mangle -X -- cgit v1.2.3