aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-27 14:06:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-27 14:06:07 +0000
commit64a21dae8f558d0a06cc7d7434c07eeccc3a4117 (patch)
tree87137f18c76faa93667331fb18e22c3098af2f51
parentdf39c50c9a8229247bad926cae4fb87fd7a9b749 (diff)
downloadupstream-64a21dae8f558d0a06cc7d7434c07eeccc3a4117.tar.gz
upstream-64a21dae8f558d0a06cc7d7434c07eeccc3a4117.tar.bz2
upstream-64a21dae8f558d0a06cc7d7434c07eeccc3a4117.zip
do not fire up the qos-scripts hotplug part if the init script is disabled
SVN-Revision: 9046
-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 8537297f9f..0ced29ac7e 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