summaryrefslogtreecommitdiffstats
path: root/package/qos-scripts/files/etc
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-10 12:32:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-10 12:32:29 +0000
commit9c8997d54dc9df184bfcedeabf0b3c85cf5e6753 (patch)
tree46b83031a0da1b4458317413c00d13c252c72afa /package/qos-scripts/files/etc
parenteecf5b17520f6b3b6ffb45ac7dca298d93b27501 (diff)
packages: sort network related packages into package/network/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/qos-scripts/files/etc')
-rw-r--r--package/qos-scripts/files/etc/config/qos79
-rwxr-xr-xpackage/qos-scripts/files/etc/hotplug.d/iface/10-qos2
-rwxr-xr-xpackage/qos-scripts/files/etc/init.d/qos16
3 files changed, 0 insertions, 97 deletions
diff --git a/package/qos-scripts/files/etc/config/qos b/package/qos-scripts/files/etc/config/qos
deleted file mode 100644
index 8faff1834..000000000
--- a/package/qos-scripts/files/etc/config/qos
+++ /dev/null
@@ -1,79 +0,0 @@
-# QoS configuration for OpenWrt
-
-# INTERFACES:
-config interface wan
- option classgroup "Default"
- option enabled 0
- option upload 128
- option download 1024
-
-# RULES:
-config classify
- option target "Priority"
- option ports "22,53"
-config classify
- option target "Normal"
- option proto "tcp"
- option ports "20,21,25,80,110,443,993,995"
-config classify
- option target "Express"
- option ports "5190"
-config default
- option target "Express"
- option proto "udp"
- option pktsize "-500"
-config reclassify
- option target "Priority"
- option proto "icmp"
-config default
- option target "Bulk"
- option portrange "1024-65535"
-config reclassify
- option target "Priority"
- option proto "tcp"
- option pktsize "-128"
- option mark "!Bulk"
- option tcpflags "SYN"
-config reclassify
- option target "Priority"
- option proto "tcp"
- option pktsize "-128"
- option mark "!Bulk"
- option tcpflags "ACK"
-
-
-# Don't change the stuff below unless you
-# really know what it means :)
-
-config classgroup "Default"
- option classes "Priority Express Normal Bulk"
- option default "Normal"
-
-
-config class "Priority"
- option packetsize 400
- option maxsize 400
- option avgrate 10
- option priority 20
-config class "Priority_down"
- option packetsize 1000
- option avgrate 10
-
-
-config class "Express"
- option packetsize 1000
- option maxsize 800
- option avgrate 50
- option priority 10
-
-config class "Normal"
- option packetsize 1500
- option packetdelay 100
- option avgrate 10
- option priority 5
-config class "Normal_down"
- option avgrate 20
-
-config class "Bulk"
- option avgrate 1
- option packetdelay 200
diff --git a/package/qos-scripts/files/etc/hotplug.d/iface/10-qos b/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
deleted file mode 100755
index 0ced29ac7..000000000
--- a/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-[ "$ACTION" = ifup ] && /etc/init.d/qos enabled && /usr/lib/qos/generate.sh interface "$INTERFACE" | sh
diff --git a/package/qos-scripts/files/etc/init.d/qos b/package/qos-scripts/files/etc/init.d/qos
deleted file mode 100755
index 3f711155e..000000000
--- a/package/qos-scripts/files/etc/init.d/qos
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (C) 2006 OpenWrt.org
-
-START=50
-
-boot() {
- /usr/lib/qos/generate.sh firewall | sh
-}
-
-start() {
- qos-start
-}
-
-stop() {
- qos-stop
-}