From 290d1ec89562edd82075cf8b1b6f53c448546bcb Mon Sep 17 00:00:00 2001 From: mintpilo <47645270+mintpilo@users.noreply.github.com> Date: Sun, 10 Nov 2024 17:28:25 -0500 Subject: [PATCH] fix: remove redundant pkexec line in kargs commands (#539) Co-authored-by: RoyalOughtness <129108030+RoyalOughtness@users.noreply.github.com> --- files/system/usr/share/ublue-os/just/70-secureblue.just | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/system/usr/share/ublue-os/just/70-secureblue.just b/files/system/usr/share/ublue-os/just/70-secureblue.just index 897b476..29703af 100644 --- a/files/system/usr/share/ublue-os/just/70-secureblue.just +++ b/files/system/usr/share/ublue-os/just/70-secureblue.just @@ -1,6 +1,6 @@ # Add additional boot parameters for hardening (requires reboot) set-kargs-hardening: - #!/usr/bin/pkexec /usr/bin/bash + #!/usr/bin/bash read -p "Do you need support for 32-bit processes/syscalls? (This is mostly used by legacy software, with some exceptions, such as Steam) [y/N]: " YES if [[ "$YES" == [Yy]* ]]; then echo "Keeping 32-bit support." @@ -51,7 +51,7 @@ set-kargs-hardening: # Remove all hardening boot parameters (requires reboot) remove-kargs-hardening: - #!/usr/bin/pkexec /usr/bin/bash + #!/usr/bin/bash rpm-ostree kargs \ --delete-if-present="init_on_alloc=1" \ --delete-if-present="init_on_free=1" \