mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update zRAM config
as zram-fraction and max-zram-size are obsolete.
This commit is contained in:
parent
44df04c1cf
commit
a48db2c7b8
1 changed files with 1 additions and 2 deletions
|
|
@ -404,8 +404,7 @@ EOF
|
||||||
print "Configuring ZRAM."
|
print "Configuring ZRAM."
|
||||||
cat > /mnt/etc/systemd/zram-generator.conf <<EOF
|
cat > /mnt/etc/systemd/zram-generator.conf <<EOF
|
||||||
[zram0]
|
[zram0]
|
||||||
zram-fraction = 1
|
zram-size = min(ram, 8192)
|
||||||
max-zram-size = 8192
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Pacman eye-candy features.
|
# Pacman eye-candy features.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue