mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-23 01:41:34 -05:00
Compare commits
2 Commits
944f53a62c
...
4501edcdd9
Author | SHA1 | Date | |
---|---|---|---|
4501edcdd9 | |||
786e50e2af |
@ -130,13 +130,11 @@ sudo dconf update
|
||||
umask 077
|
||||
|
||||
ubuntu-report -f send no
|
||||
sudo systemctl stop apport.service
|
||||
sudo systemctl disable --now apport.service
|
||||
sudo systemctl mask apport.service
|
||||
sudo systemctl stop --now whoopsie.service
|
||||
sudo systemctl disable whoopsie.service
|
||||
sudo systemctl disable --now whoopsie.service
|
||||
sudo systemctl mask whoopsie.service
|
||||
sudo systemctl disable whoopsie.path
|
||||
sudo systemctl disable --now whoopsie.path
|
||||
sudo systemctl mask whoopsie.path
|
||||
|
||||
# Update packages and firmware
|
||||
|
@ -83,13 +83,12 @@ unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/m
|
||||
# Update GRUB config
|
||||
if [ ! -d /boot/efi/EFI/ZBM ]; then
|
||||
# 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"' | sudo tee -a /etc/grub.d/40_custom
|
||||
sed -i 's/splash/splash 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/g' /etc/default/grub
|
||||
sudo update-grub
|
||||
fi
|
||||
|
||||
# Disable telemetry
|
||||
sudo systemctl stop --now apport.service
|
||||
sudo systemctl disable apport.service
|
||||
sudo systemctl disable --now apport.service
|
||||
sudo systemctl mask apport.service
|
||||
|
||||
#Setup fwupd
|
||||
|
Loading…
Reference in New Issue
Block a user