aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/zram-swap/files
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-07-24 09:34:41 +0200
committerHans Dedecker <dedeckeh@gmail.com>2020-11-02 21:32:38 +0100
commit0232bf601d6c8c174faa4c5bac1f6c86b20853c9 (patch)
treea72d3d12af1d3db64cf80f65756b4acf4cfc476e /package/system/zram-swap/files
parent42675aa30cdc2cc14e9a271dde3a26130baebb46 (diff)
downloadupstream-0232bf601d6c8c174faa4c5bac1f6c86b20853c9.tar.gz
upstream-0232bf601d6c8c174faa4c5bac1f6c86b20853c9.tar.bz2
upstream-0232bf601d6c8c174faa4c5bac1f6c86b20853c9.zip
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>
Diffstat (limited to 'package/system/zram-swap/files')
-rwxr-xr-xpackage/system/zram-swap/files/zram.init5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/system/zram-swap/files/zram.init b/package/system/zram-swap/files/zram.init
index a42f019d92..c6b7ae89c2 100755
--- a/package/system/zram-swap/files/zram.init
+++ b/package/system/zram-swap/files/zram.init
@@ -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()
{