Răsfoiți Sursa

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

SVN-Revision: 9046
Felix Fietkau 18 ani în urmă
părinte
comite
64a21dae8f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      package/qos-scripts/files/etc/hotplug.d/iface/10-qos

+ 1 - 1
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