aboutsummaryrefslogtreecommitdiffstats
path: root/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
diff options
context:
space:
mode:
Diffstat (limited to 'package/qos-scripts/files/etc/hotplug.d/iface/10-qos')
-rwxr-xr-xpackage/qos-scripts/files/etc/hotplug.d/iface/10-qos2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/qos-scripts/files/etc/hotplug.d/iface/10-qos b/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
new file mode 100755
index 000000000..0ced29ac7
--- /dev/null
+++ b/package/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