mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-21 17:11:33 -05:00
Remove unnecessary commands
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
4c9c1150be
commit
5aa7838940
@ -65,10 +65,8 @@ sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf
|
||||
# Security kernel settings
|
||||
if [ "${virtualization}" = 'parallels' ]; then
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Kernel-Module-Blacklist/main/etc/modprobe.d/workstation-blacklist.conf | sudo tee /etc/modprobe.d/workstation-blacklist.conf
|
||||
sudo chmod 644 /etc/modprobe.d/workstation-blacklist.conf
|
||||
else
|
||||
unpriv curl https://raw.githubusercontent.com/secureblue/secureblue/live/config/files/usr/etc/modprobe.d/blacklist.conf | sudo tee /etc/modprobe.d/workstation-blacklist.conf
|
||||
sudo chmod 644 /etc/modprobe.d/workstation-blacklist.conf
|
||||
fi
|
||||
sudo chmod 644 /etc/modprobe.d/workstation-blacklist.conf
|
||||
unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/sysctl.d/99-workstation.conf | sudo tee /etc/sysctl.d/99-workstation.conf
|
||||
@ -258,4 +256,4 @@ sudo chmod 644 /etc/systemd/system/NetworkManager.service.d/99-brace.conf
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart NetworkManager
|
||||
|
||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
||||
output 'The script is done. You can also remove gnome-terminal since gnome-console will replace it.'
|
||||
|
Loading…
Reference in New Issue
Block a user