X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/0c274bf9ebe21b922346922d19888b1f30bb1144..84daa92b023571e959f177094a5ac6b632503514:/Makefile.OpenWRT

diff --git a/Makefile.OpenWRT b/Makefile.OpenWRT
index d5ee193..40b40c3 100644
--- a/Makefile.OpenWRT
+++ b/Makefile.OpenWRT
@@ -22,6 +22,8 @@ define Package/hmcfgusb/install
 	$(INSTALL_DIR) $(1)/usr/bin/
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/hmland $(1)/usr/bin/
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/hmsniff $(1)/usr/bin/
+	$(INSTALL_DIR) $(1)/etc/hotplug.d/usb/
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/20-hmlan.OpenWRT $(1)/etc/hotplug.d/usb/20-hmlan
 endef
 
 $(eval $(call BuildPackage,hmcfgusb))