From: nbd Date: Thu, 27 Sep 2007 14:06:07 +0000 (+0000) Subject: do not fire up the qos-scripts hotplug part if the init script is disabled X-Git-Tag: fast2504n-3.10.28-merged~20195 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=ca30392f87a5040ca890573214eb7fccddcaee6d;p=openwrt.git do not fire up the qos-scripts hotplug part if the init script is disabled git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9046 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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