Fix pacman command for zram-generator.
This commit is contained in:
parent
57d08883ca
commit
557edf015e
@ -253,7 +253,7 @@ fi
|
|||||||
echo "Do you wanna enable zram (uses half the ram) [y/n]: "
|
echo "Do you wanna enable zram (uses half the ram) [y/n]: "
|
||||||
read zram
|
read zram
|
||||||
if [[ $zram = "y" ]]; then
|
if [[ $zram = "y" ]]; then
|
||||||
pacman -S zram-generator
|
pacman -S --noconfirm --needed zram-generator
|
||||||
echo '[zram0]
|
echo '[zram0]
|
||||||
zram-size = ram / 2' > /etc/systemd/zram-generator.conf
|
zram-size = ram / 2' > /etc/systemd/zram-generator.conf
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user