X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a4a6443af12b7758b12020f561fa7fe2e0a3e87f..20b35b397aa8c938c79f21fe7369a6303f8b4c5a:/package/nvram/Makefile?ds=sidebyside

diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index 87e8b0659..318e4d593 100644
--- a/package/nvram/Makefile
+++ b/package/nvram/Makefile
@@ -40,6 +40,8 @@ define Build/UninstallDev
 endef
 
 define Package/nvram/install
+	$(INSTALL_DIR) $(1)/etc/init.d
+	$(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram
 	$(INSTALL_DIR) $(1)/usr/lib
 	$(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
 	$(INSTALL_DIR) $(1)/usr/sbin