1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-21 09:01:34 -05:00

Update install.sh

This commit is contained in:
TommyTran732 2021-07-25 07:49:41 +00:00 committed by tommytran732
parent 0713a4389a
commit 1f359ef750
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -343,9 +343,9 @@ echo "umask 077" >> /mnt/etc/bash.bashrc
# Setting up ZRAM
MEM=$(awk '/^Mem/ {print $2}' <(free -m))
if [ "${MEM}" -ge "8192" ]; then
ZRAMSIZE = 8192
ZRAMSIZE=8192
else
ZRAMSIZE = ${MEM}
ZRAMSIZE=${MEM}
fi
echo 'zram' > /mnt/etc/modules-load.d/zram.conf