1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-24 10:31:34 -05:00

Fixed styling

This commit is contained in:
TommyTran732 2021-07-25 08:03:07 +00:00 committed by tommytran732
parent 79729d65ac
commit 619c3ac2d1
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -350,7 +350,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