procd: add a small script that handles config reloads until configd is ready
[openwrt/staging/chunkeey.git] / package / system / procd / Makefile
index 27879e8443d31b0ef1214947059c3c0195662783..b91af9814618f2754d83e5063dcebe4ef5f8eb90 100644 (file)
@@ -32,6 +32,7 @@ define Package/procd/install
        $(INSTALL_DIR) $(1)/sbin $(1)/lib/functions $(1)/etc/init.d
 
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/{procd,askfirst,udevtrigger,logread} $(1)/sbin/
+       $(INSTALL_BIN) ./files/reload_config $(1)/sbin/
        $(INSTALL_BIN) ./files/log.init $(1)/etc/init.d/log
        $(INSTALL_DATA) ./files/hotplug*.json $(1)/etc/
        $(INSTALL_DATA) ./files/procd.sh $(1)/lib/functions/