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:
parent
0713a4389a
commit
1f359ef750
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user