summaryrefslogtreecommitdiffstats
path: root/package/qos-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'package/qos-scripts')
-rwxr-xr-xpackage/qos-scripts/files/etc/hotplug.d/iface/10-qos2
1 files changed, 1 insertions, 1 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
index 8537297f9..0ced29ac7 100755
--- a/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
+++ b/package/qos-scripts/files/etc/hotplug.d/iface/10-qos
@@ -1,2 +1,2 @@
#!/bin/sh
-[ "$ACTION" = ifup ] && /usr/lib/qos/generate.sh interface "$INTERFACE" | sh
+[ "$ACTION" = ifup ] && /etc/init.d/qos enabled && /usr/lib/qos/generate.sh interface "$INTERFACE" | sh