mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 01:21: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
|
# Setting up ZRAM
|
||||||
MEM=$(awk '/^Mem/ {print $2}' <(free -m))
|
MEM=$(awk '/^Mem/ {print $2}' <(free -m))
|
||||||
if [ "${MEM}" -ge "8192" ]; then
|
if [ "${MEM}" -ge "8192" ]; then
|
||||||
ZRAMSIZE = 8192
|
ZRAMSIZE=8192
|
||||||
else
|
else
|
||||||
ZRAMSIZE = ${MEM}
|
ZRAMSIZE=${MEM}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'zram' > /mnt/etc/modules-load.d/zram.conf
|
echo 'zram' > /mnt/etc/modules-load.d/zram.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user