From 64a21dae8f558d0a06cc7d7434c07eeccc3a4117 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 27 Sep 2007 14:06:07 +0000 Subject: [PATCH] do not fire up the qos-scripts hotplug part if the init script is disabled SVN-Revision: 9046 --- package/qos-scripts/files/etc/hotplug.d/iface/10-qos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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