projects
/
openwrt
/
svn-archive
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do not fire up the qos-scripts hotplug part if the init script is disabled
[openwrt/svn-archive/openwrt.git]
/
package
/
qos-scripts
/
files
/
etc
/
hotplug.d
/
iface
/
10-qos
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 8537297f9f6fcbad7a9f10964981ffdb9224bb22..0ced29ac7ec31b62abcc334fc127db009387a3fb 100755
(executable)
--- 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