From 3f1e06060be49eafcc454694c21205aaac5c938e Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 28 Apr 2024 11:48:39 -0700 Subject: [PATCH] Disable unnecessary check Signed-off-by: Tommy --- Kali-Linux.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Kali-Linux.sh b/Kali-Linux.sh index 5932418..5deb733 100644 --- a/Kali-Linux.sh +++ b/Kali-Linux.sh @@ -49,6 +49,7 @@ sudo update-initramfs -u unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/security/limits.d/30-disable-coredump.conf | sudo tee /etc/security/limits.d/30-disable-coredump.conf # Update GRUB config +# shellcheck disable=SC2016 echo 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mitigations=auto,nosmt spectre_v2=on spec_store_bypass_disable=on tsx=off kvm.nx_huge_pages=force nosmt=force l1d_flush=on spec_rstack_overflow=safe-ret random.trust_bootloader=off random.trust_cpu=off intel_iommu=on amd_iommu=force_isolation efi=disable_early_pci_dma iommu=force iommu.passthrough=0 iommu.strict=1 slab_nomerge init_on_alloc=1 init_on_free=1 pti=on vsyscall=none ia32_emulation=0 page_alloc.shuffle=1 randomize_kstack_offset=on debugfs=off lockdown=confidentiality"' | sudo tee -a /etc/grub.d/40_custom sudo update-grub