X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5be70dfb578c8793084aa8b4526fad08d68a6155..05d91b11d2725398d1b6f72e24e4c6ae82f164c3:/package/nvram/Makefile?ds=sidebyside diff --git a/package/nvram/Makefile b/package/nvram/Makefile index ab33c1151..318e4d593 100644 --- a/package/nvram/Makefile +++ b/package/nvram/Makefile @@ -40,10 +40,12 @@ define Build/UninstallDev endef define Package/nvram/install - install -d -m0755 $(1)/usr/lib + $(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 -d -m0755 $(1)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/ endef $(eval $(call BuildPackage,nvram))