From ec1571f6e6de8b1e5f64b7e3b88812ee84837ac8 Mon Sep 17 00:00:00 2001 From: rwinkhart Date: Tue, 28 Jun 2022 04:19:11 -0400 Subject: [PATCH] Swapped hard and soft memlocks --- chrootInstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index 2ddfa88..685d1be 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -130,7 +130,7 @@ touch /home/"$username"/.ssh/authorized_keys chown -R "$username" /home/"$username"/.ssh # misc configuration -echo -e '* hard memlock 64\n* soft memlock 2097152\n# End of file' > /etc/security/limits.conf # increases hard memlock limit to 2 GiB (useful for some apps, such as rpcs3) +echo -e '* hard memlock 2097152\n* soft memlock 64\n# End of file' > /etc/security/limits.conf # increases hard memlock limit to 2 GiB (useful for some apps, such as rpcs3) mkdir -p /home/"$username"/.gnupg echo 'pinentry-program /usr/bin/pinentry-tty' > /home/"$username"/.gnupg/gpg-agent.conf # forces gpg prompts to use terminal input pacman -S neofetch htop cpupower --needed --noconfirm