zram-swap: use new extra_command wrapper

Use new `extra_command` wrapper to fix the alignement.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2020-07-24 09:34:41 +02:00 committed by Hans Dedecker
parent 42675aa30c
commit 0232bf601d
2 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=zram-swap PKG_NAME:=zram-swap
PKG_RELEASE:=7 PKG_RELEASE:=8
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

View File

@ -2,9 +2,8 @@
START=15 START=15
EXTRA_COMMANDS="compact status" extra_command "compact" "Trigger compaction for all Z-RAM swap dev's"
EXTRA_HELP=" compact trigger compaction for all Z-RAM swap dev's extra_command "status" "Print out information & statistics about Z-RAM swap devices"
status print out status information & statistics about Z-RAM swap devices"
ram_getsize() ram_getsize()
{ {