From: Felix Fietkau Date: Mon, 22 Nov 2021 16:21:51 +0000 (+0100) Subject: qosify: install hotplug handler into /etc/hotplug.d/iface as well X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3a1597c7bd95d1fb12cee66b034197a7cf810cd2;p=openwrt%2Fstaging%2Frmilecki.git qosify: install hotplug handler into /etc/hotplug.d/iface as well Signed-off-by: Felix Fietkau --- diff --git a/package/network/config/qosify/Makefile b/package/network/config/qosify/Makefile index 19ee87db7c6..cca2b7a51d4 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))