From 41c32f9c525b5b5a4b44bd7a685eb4e46015a9c4 Mon Sep 17 00:00:00 2001 From: acinonyx Date: Mon, 7 Jan 2013 12:01:11 +0000 Subject: [package] zram-swap: Install init script with 0755 mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35033 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/zram-swap/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/zram-swap/Makefile') diff --git a/package/zram-swap/Makefile b/package/zram-swap/Makefile index 59a55c477..bded5f380 100644 --- a/package/zram-swap/Makefile +++ b/package/zram-swap/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zram-swap PKG_VERSION:=1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) @@ -39,8 +39,8 @@ define Build/Compile endef define Package/zram-swap/install - $(INSTALL_DIR) $(1) - $(CP) ./files/* $(1)/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/zram.init $(1)/etc/init.d/zram endef $(eval $(call BuildPackage,zram-swap)) -- cgit v1.2.3