From 92b4ecd0e9e009dde2d2c83437bccfee2f6e4f0b Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Tue, 11 Aug 2020 23:13:12 -0400 Subject: [PATCH] Pretty up some dialogs --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index ba32054..7dddacf 100644 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -303,7 +303,7 @@ set_map_count() { trap check_map_count EXIT if grep -E -x -q "vm.max_map_count" /etc/sysctl.conf /etc/sysctl.d/* 2>/dev/null; then - if message 3 "It looks like you already configured your system to work with Star Citizen, and saved the setting to persist across reboots. However, for some reason the persistence part did not work.\n\nFor now, would you like to enable the setting again until the next reboot?"; then + if message 3 "It looks like you already configured your system to work with Star Citizen\nand saved the setting to persist across reboots.\nHowever, for some reason the persistence part did not work.\n\nFor now, would you like to enable the setting again until the next reboot?"; then pkexec sh -c 'sysctl -w vm.max_map_count=16777216' fi exit 0