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
This commit is contained in:
Felix Fietkau 2007-09-27 14:06:07 +00:00
parent 2decc7ca04
commit 7f1e8fe6ff

View File

@ -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