mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
019f3d8a9e
commit
fb7a771bc7
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ fi
|
||||||
|
|
||||||
echo 'zram' > /mnt/etc/modules-load.d/zram.conf
|
echo 'zram' > /mnt/etc/modules-load.d/zram.conf
|
||||||
echo 'options zram num_devices=1' > /mnt/etc/modprobe.d/zram.conf
|
echo 'options zram num_devices=1' > /mnt/etc/modprobe.d/zram.conf
|
||||||
echo 'KERNEL=="zram0", ATTR{disksize}="'${ZRAMSIZE}'M" RUN="/usr/bin/mkswap /dev/zram0", TAG+="systemd"' > /mnt/etc/udev/rules.d/99-zram.rules
|
echo 'KERNEL=="zram0", ATTR{disksize}="'"${ZRAMSIZE}"'M" RUN="/usr/bin/mkswap /dev/zram0", TAG+="systemd"' > /mnt/etc/udev/rules.d/99-zram.rules
|
||||||
echo '# ZRAM' >> /mnt/etc/fstab
|
echo '# ZRAM' >> /mnt/etc/fstab
|
||||||
echo '/dev/zram0 none swap defaults 0 0' >> /mnt/etc/fstab
|
echo '/dev/zram0 none swap defaults 0 0' >> /mnt/etc/fstab
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue