summaryrefslogtreecommitdiff
path: root/package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos')
-rwxr-xr-xpackage/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos b/package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos
new file mode 100755
index 0000000000..0ced29ac7e
--- /dev/null
+++ b/package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ "$ACTION" = ifup ] && /etc/init.d/qos enabled && /usr/lib/qos/generate.sh interface "$INTERFACE" | sh