From 159f9471323e8c06805a25ae887a1daa5153c31a Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 25 Dec 2023 02:18:48 -0700 Subject: [PATCH] Consistency between RHEL and Fedora Signed-off-by: Tommy --- RHEL-Server-9.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index b3d5c90..021e6c2 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -25,6 +25,7 @@ unpriv(){ } # Compliance +sudo rm /etc/systemd/system/ctrl-alt-del.target sudo systemctl mask ctrl-alt-del.target sudo systemctl mask debug-shell.service sudo systemctl mask kdump.service @@ -204,4 +205,4 @@ if [ "$virt_type" = '' ]; then unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/system/fwupd-refresh.service.d/override.conf | sudo tee /etc/systemd/system/fwupd-refresh.service.d/override.conf sudo systemctl daemon-reload sudo systemctl enable --now fwupd-refresh.timer -fi \ No newline at end of file +fi