aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-11-22 17:21:51 +0100
committerFelix Fietkau <nbd@nbd.name>2021-11-22 17:23:15 +0100
commit3a1597c7bd95d1fb12cee66b034197a7cf810cd2 (patch)
tree8d91b988a2c6025a35de8f9a6c58f9ff1b685c6a
parent24bb494b6c410519591e84575b7836a10f3a655b (diff)
downloadupstream-3a1597c7bd95d1fb12cee66b034197a7cf810cd2.tar.gz
upstream-3a1597c7bd95d1fb12cee66b034197a7cf810cd2.tar.bz2
upstream-3a1597c7bd95d1fb12cee66b034197a7cf810cd2.zip
qosify: install hotplug handler into /etc/hotplug.d/iface as well
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/network/config/qosify/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/network/config/qosify/Makefile b/package/network/config/qosify/Makefile
index 19ee87db7c..cca2b7a51d 100644
--- a/package/network/config/qosify/Makefile
+++ b/package/network/config/qosify/Makefile
@@ -44,7 +44,14 @@ define Package/qosify/conffiles
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 $(1)/etc/qosify
+ $(INSTALL_DIR) \
+ $(1)/lib/bpf \
+ $(1)/usr/sbin \
+ $(1)/etc/init.d \
+ $(1)/etc/config \
+ $(1)/etc/qosify \
+ $(1)/etc/hotplug.d/net \
+ $(1)/etc/hotplug.d/iface
$(INSTALL_DATA) $(PKG_BUILD_DIR)/qosify-bpf.o $(1)/lib/bpf
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/qosify \
@@ -54,6 +61,7 @@ define Package/qosify/install
$(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
+ $(INSTALL_DATA) ./files/qosify.hotplug $(1)/etc/hotplug.d/iface/10-qosify
endef
$(eval $(call BuildPackage,qosify))