mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-13 21:41:33 -05:00
Remove redundant code
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
a2424b179b
commit
50766b9ce5
@ -74,14 +74,6 @@ sudo sysctl -p
|
|||||||
# Rebuild initramfs
|
# Rebuild initramfs
|
||||||
sudo update-initramfs -u
|
sudo update-initramfs -u
|
||||||
|
|
||||||
# Disable telemetry
|
|
||||||
sudo systemctl stop apport.service
|
|
||||||
sudo systemctl disable apport.service
|
|
||||||
sudo systemctl mask apport.service
|
|
||||||
sudo systemctl stop whoopsie.service
|
|
||||||
sudo systemctl disable whoopsie.service
|
|
||||||
sudo systemctl mask whoopsie.service
|
|
||||||
|
|
||||||
# Systemd Hardening
|
# Systemd Hardening
|
||||||
sudo mkdir -p /etc/systemd/system/NetworkManager.service.d
|
sudo mkdir -p /etc/systemd/system/NetworkManager.service.d
|
||||||
unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf
|
unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user