X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b1722f512f7c4ecb8ec0602ee8afbf8961be8fef..fd7d7215c62c223031426b1b84e96cd4186bd148:/package/nvram/Makefile 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))