OSDN Git Service

zramen: simplify service.
authormobinmob <mobinmob@disroot.org>
Thu, 21 Oct 2021 19:03:36 +0000 (22:03 +0300)
committermobinmob <mobinmob@disroot.org>
Thu, 21 Oct 2021 19:03:36 +0000 (22:03 +0300)
usr/share/66/service/zramen

index 5a9845a..8adcbf0 100644 (file)
@@ -5,14 +5,7 @@
 @user = ( root )
 
 [start]
-@execute = (
-execl-cmdline -s {
-  export ZRAM_COMP_ALGORITHM ${ZRAM_COMP_ALGORITHM} 
-  export ZRAM_PRIORITY ${ZRAM_PRIORITY}
-  export ZRAM_SIZE ${ZRAM_SIZE}
-  export ZRAM_STREAMS ${ZRAM_STREAMS}
-  zramen make } 
- )
+@execute = ( zramen make )
 
 [stop]
 @execute = ( zramen toss )