mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 00:24:12 +00:00
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>
This commit is contained in:
parent
0e4ef0e5a4
commit
85cc004606
@ -39,15 +39,15 @@ endef
|
|||||||
|
|
||||||
define Package/qosify/conffiles
|
define Package/qosify/conffiles
|
||||||
/etc/config/qosify
|
/etc/config/qosify
|
||||||
/etc/qosify-defaults.conf
|
/etc/qosify/00-defaults.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/qosify/install
|
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_DATA) $(PKG_BUILD_DIR)/qosify-bpf.o $(1)/lib/bpf
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qosify $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qosify $(1)/usr/sbin/
|
||||||
$(INSTALL_BIN) ./files/qosify.init $(1)/etc/init.d/qosify
|
$(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.conf $(1)/etc/config/qosify
|
||||||
$(INSTALL_DATA) ./files/qosify.hotplug $(1)/etc/hotplug.d/net/10-qosify
|
$(INSTALL_DATA) ./files/qosify.hotplug $(1)/etc/hotplug.d/net/10-qosify
|
||||||
endef
|
endef
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
config defaults
|
config defaults
|
||||||
list defaults /etc/qosify-defaults.conf
|
list defaults /etc/qosify/*.conf
|
||||||
option dscp_prio CS5
|
option dscp_prio CS5
|
||||||
option dscp_icmp CS6
|
option dscp_icmp CS6
|
||||||
option dscp_bulk CS0
|
option dscp_bulk CS0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user