do not fire up the qos-scripts hotplug part if the init script is disabled
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Sep 2007 14:06:07 +0000 (14:06 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Sep 2007 14:06:07 +0000 (14:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9046 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/qos-scripts/files/etc/hotplug.d/iface/10-qos

index 8537297..0ced29a 100755 (executable)
@@ -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
This page took 0.026527 seconds and 4 git commands to generate.