Swapped hard and soft memlocks

This commit is contained in:
rwinkhart
2022-06-28 04:19:11 -04:00
parent 8f117e0655
commit ec1571f6e6
+1 -1
View File
@@ -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