You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
382 B
16 lines
382 B
{% calculate not exists('/etc/conf.d/zram'), unbound %}
|
|
# Compression algorithm for zram disk
|
|
COMPRESSION="zstd"
|
|
|
|
# Zram disk size in percent of RAM or absolute value with suffix (K,M,G)
|
|
DISKSIZE="200%"
|
|
|
|
# Start zram swap disk
|
|
# swapless - start only for swapless system
|
|
# always - start anyway
|
|
{% if main.cl.chroot_status %}
|
|
START="always"
|
|
{% else %}
|
|
START="swapless"
|
|
{% endif %}
|