mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-15 17:44:57 +00:00
fix: remove redundant pkexec line in kargs commands (#539)
Co-authored-by: RoyalOughtness <129108030+RoyalOughtness@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Add additional boot parameters for hardening (requires reboot)
|
# Add additional boot parameters for hardening (requires reboot)
|
||||||
set-kargs-hardening:
|
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
|
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
|
if [[ "$YES" == [Yy]* ]]; then
|
||||||
echo "Keeping 32-bit support."
|
echo "Keeping 32-bit support."
|
||||||
@@ -51,7 +51,7 @@ set-kargs-hardening:
|
|||||||
|
|
||||||
# Remove all hardening boot parameters (requires reboot)
|
# Remove all hardening boot parameters (requires reboot)
|
||||||
remove-kargs-hardening:
|
remove-kargs-hardening:
|
||||||
#!/usr/bin/pkexec /usr/bin/bash
|
#!/usr/bin/bash
|
||||||
rpm-ostree kargs \
|
rpm-ostree kargs \
|
||||||
--delete-if-present="init_on_alloc=1" \
|
--delete-if-present="init_on_alloc=1" \
|
||||||
--delete-if-present="init_on_free=1" \
|
--delete-if-present="init_on_free=1" \
|
||||||
|
|||||||
Reference in New Issue
Block a user