summaryrefslogtreecommitdiffstats
path: root/package/zram-swap
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-07 12:01:11 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-07 12:01:11 +0000
commit41c32f9c525b5b5a4b44bd7a685eb4e46015a9c4 (patch)
tree7b97a8f29e4d428a674ef3ae4a7f085f20afad25 /package/zram-swap
parent9e70c1ddc7b660b9ca4bfac2ab66498e264db942 (diff)
[package] zram-swap: Install init script with 0755 mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35033 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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))
diff --git a/package/zram-swap/files/etc/init.d/zram b/package/zram-swap/files/zram.init
index 23de915c8..23de915c8 100755..100644
--- a/package/zram-swap/files/etc/init.d/zram
+++ b/package/zram-swap/files/zram.init