mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 23:23:31 +00:00
zram-swap: Install init script with 0755 mode
SVN-Revision: 35033
This commit is contained in:
parent
cedbe66e9a
commit
c86485210b
@ -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))
|
||||
|
0
package/zram-swap/files/etc/init.d/zram → package/zram-swap/files/zram.init
Executable file → Normal file
0
package/zram-swap/files/etc/init.d/zram → package/zram-swap/files/zram.init
Executable file → Normal file
Loading…
Reference in New Issue
Block a user