aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-11-08 22:26:45 +0100
committerFelix Fietkau <nbd@nbd.name>2021-11-08 22:26:46 +0100
commit85cc0046060b83bf616ea9476f3d6d9530c72771 (patch)
tree3e6717035cc33ccc066f3cc2ad6d896420274576
parent0e4ef0e5a43d6875e0044cf9d1276bb888c147a8 (diff)
downloadupstream-85cc0046060b83bf616ea9476f3d6d9530c72771.tar.gz
upstream-85cc0046060b83bf616ea9476f3d6d9530c72771.tar.bz2
upstream-85cc0046060b83bf616ea9476f3d6d9530c72771.zip
qosify: move files to /etc/qosify
Now that wildcard matching is supported, this makes it easier for packages to supply their own qosify rules Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/config/qosify/Makefile6
-rw-r--r--package/network/config/qosify/files/qosify.conf2
2 files changed, 4 insertions, 4 deletions
diff --git a/package/network/config/qosify/Makefile b/package/network/config/qosify/Makefile
index de7615dc12..e5e1865422 100644
--- a/package/network/config/qosify/Makefile
+++ b/package/network/config/qosify/Makefile
@@ -39,15 +39,15 @@ endef
define Package/qosify/conffiles
/etc/config/qosify
-/etc/qosify-defaults.conf
+/etc/qosify/00-defaults.conf
endef
define Package/qosify/install
- $(INSTALL_DIR) $(1)/lib/bpf $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config $(1)/etc/hotplug.d/net
+ $(INSTALL_DIR) $(1)/lib/bpf $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config $(1)/etc/hotplug.d/net $(1)/etc/qosify
$(INSTALL_DATA) $(PKG_BUILD_DIR)/qosify-bpf.o $(1)/lib/bpf
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qosify $(1)/usr/sbin/
$(INSTALL_BIN) ./files/qosify.init $(1)/etc/init.d/qosify
- $(INSTALL_DATA) ./files/qosify-defaults.conf $(1)/etc/qosify-defaults.conf
+ $(INSTALL_DATA) ./files/qosify-defaults.conf $(1)/etc/qosify/00-defaults.conf
$(INSTALL_DATA) ./files/qosify.conf $(1)/etc/config/qosify
$(INSTALL_DATA) ./files/qosify.hotplug $(1)/etc/hotplug.d/net/10-qosify
endef
diff --git a/package/network/config/qosify/files/qosify.conf b/package/network/config/qosify/files/qosify.conf
index d607abe462..dba1d1a46d 100644
--- a/package/network/config/qosify/files/qosify.conf
+++ b/package/network/config/qosify/files/qosify.conf
@@ -1,5 +1,5 @@
config defaults
- list defaults /etc/qosify-defaults.conf
+ list defaults /etc/qosify/*.conf
option dscp_prio CS5
option dscp_icmp CS6
option dscp_bulk CS0