summaryrefslogtreecommitdiff
path: root/package/qos-scripts/files/etc/hotplug.d/iface
diff options
context:
space:
mode:
Diffstat (limited to 'package/qos-scripts/files/etc/hotplug.d/iface')
-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 0000000..0682db1
--- /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