aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/files/15-teql
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2021-03-01 20:59:04 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-03-19 15:30:01 +0100
commit863ce4f15f74a674f01ab47f445b362c113b113b (patch)
tree4fd2023702943403bb7836cde801c6530af693e4 /package/network/utils/iproute2/files/15-teql
parent10ffefe60299637bc592ec4ef0dde93e0e2e8344 (diff)
downloadupstream-863ce4f15f74a674f01ab47f445b362c113b113b.tar.gz
upstream-863ce4f15f74a674f01ab47f445b362c113b113b.tar.bz2
upstream-863ce4f15f74a674f01ab47f445b362c113b113b.zip
kernel/modules: relocate teql hotplug from iproute2 to kmod-sched
The link equalizer sch_teql.ko of package kmod-sched relies on a hotplug script historically included in iproute2's tc package. In previous discussion [1], consensus was the hotplug script is best located together with the module in kmod-sched, but this change was deferred at the time. Relocate the hotplug script now. This change also simplifies adding a tc variant for minimal size with reduced functionality. [1] https://github.com/openwrt/openwrt/pull/1627#issuecomment-447923636 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package/network/utils/iproute2/files/15-teql')
-rw-r--r--package/network/utils/iproute2/files/15-teql23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/network/utils/iproute2/files/15-teql b/package/network/utils/iproute2/files/15-teql
deleted file mode 100644
index a0c0e503aa..0000000000
--- a/package/network/utils/iproute2/files/15-teql
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-. /lib/functions.sh
-
-if [ "$ACTION" != "ifup" ]; then
- exit
-fi
-
-config_load network
-
-config_get teql $INTERFACE teql
-
-if [ "$teql" != "" ]; then
- logger Adding device $DEVICE to TEQL master $teql
- insmod sch_teql
- tc qdisc add dev $DEVICE root $teql
-
- # The kernel doesn't let us bring it up until it has at least one
- # slave. So bring it up now, if it isn't already.
- if ! cat /sys/class/net/$teql/carrier &>/dev/null; then
- ifup $teql &
- fi
-fi