summaryrefslogtreecommitdiff
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 0000000000..0682db145c
--- /dev/null
+++ b/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ "$ACTION" = ifup ] && /usr/lib/qos.sh interface "$INTERFACE" | sh