zram-swap: use new extra_command wrapper
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 24 Jul 2020 07:34:41 +0000 (09:34 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 2 Nov 2020 20:32:38 +0000 (21:32 +0100)
Use new `extra_command` wrapper to fix the alignement.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
package/system/zram-swap/Makefile
package/system/zram-swap/files/zram.init

index 9a18dd341730b7f2e73a6c5b41220464bac4d602..18c6afee96540fc5c6c0206fc9b11f990f97475e 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zram-swap
-PKG_RELEASE:=7
+PKG_RELEASE:=8
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
index a42f019d9290f041d5909510d6bc118780eb714a..c6b7ae89c2984390b3b9859ef9f14d8ba004eb85 100755 (executable)
@@ -2,9 +2,8 @@
 
 START=15
 
-EXTRA_COMMANDS="compact status"
-EXTRA_HELP="        compact trigger compaction for all Z-RAM swap dev's
-        status  print out status information & statistics about Z-RAM swap devices"
+extra_command "compact" "Trigger compaction for all Z-RAM swap dev's"
+extra_command "status" "Print out information & statistics about Z-RAM swap devices"
 
 ram_getsize()
 {