summaryrefslogtreecommitdiff
path: root/package/zram-swap
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2013-01-07 12:01:11 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2013-01-07 12:01:11 +0000
commitc86485210ba6136bc90fc2708611ae5a609b6bf1 (patch)
tree360749bb8e6c25b38b491cf8027ec8be6e4af685 /package/zram-swap
parentcedbe66e9aa9e1b28fc2995c36c8e389b1b09cfe (diff)
downloadmtk-20170518-c86485210ba6136bc90fc2708611ae5a609b6bf1.zip
mtk-20170518-c86485210ba6136bc90fc2708611ae5a609b6bf1.tar.gz
mtk-20170518-c86485210ba6136bc90fc2708611ae5a609b6bf1.tar.bz2
zram-swap: Install init script with 0755 mode
SVN-Revision: 35033
Diffstat (limited to 'package/zram-swap')
-rw-r--r--package/zram-swap/Makefile6
-rw-r--r--[-rwxr-xr-x]package/zram-swap/files/zram.init (renamed from package/zram-swap/files/etc/init.d/zram)0
2 files changed, 3 insertions, 3 deletions
diff --git a/package/zram-swap/Makefile b/package/zram-swap/Makefile
index 59a55c4..bded5f3 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))
diff --git a/package/zram-swap/files/etc/init.d/zram b/package/zram-swap/files/zram.init
index 23de915..23de915 100755..100644
--- a/package/zram-swap/files/etc/init.d/zram
+++ b/package/zram-swap/files/zram.init