do not fire up the qos-scripts hotplug part if the init script is disabled

SVN-Revision: 9046
lede-17.01
Felix Fietkau 2007-09-27 14:06:07 +00:00
parent df39c50c9a
commit 64a21dae8f
1 changed files with 1 additions and 1 deletions

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