diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-27 14:06:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-27 14:06:07 +0000 |
commit | 7f1e8fe6ffa3de2ef31ec3d8e2d7db645096d423 (patch) | |
tree | 2df4a63935b2e9a69016f9fc2a711e83d9cd5376 /package/qos-scripts/files/etc | |
parent | 2decc7ca04d8fb8f71e5ef5444820343d70dd474 (diff) | |
download | master-187ad058-7f1e8fe6ffa3de2ef31ec3d8e2d7db645096d423.tar.gz master-187ad058-7f1e8fe6ffa3de2ef31ec3d8e2d7db645096d423.tar.bz2 master-187ad058-7f1e8fe6ffa3de2ef31ec3d8e2d7db645096d423.zip |
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
Diffstat (limited to 'package/qos-scripts/files/etc')
-rwxr-xr-x | package/qos-scripts/files/etc/hotplug.d/iface/10-qos | 2 |
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 |