mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 17:41:32 -05:00
Update Ubuntu-22.04-Desktop.sh
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
3a3e1daa89
commit
7eeb32b8ce
@ -31,6 +31,10 @@ sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/syste
|
|||||||
echo "GSSAPIAuthentication no" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
|
echo "GSSAPIAuthentication no" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf
|
||||||
echo "VerifyHostKeyDNS yes" | sudo tee -a /etc/ssh/ssh_config.d/10-custom.conf
|
echo "VerifyHostKeyDNS yes" | sudo tee -a /etc/ssh/ssh_config.d/10-custom.conf
|
||||||
|
|
||||||
|
#Setup NTS
|
||||||
|
rm -rf /etc/chrony/chrony.conf
|
||||||
|
curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf
|
||||||
|
|
||||||
#Disable crash reports
|
#Disable crash reports
|
||||||
gsettings set com.ubuntu.update-notifier show-apport-crashes false
|
gsettings set com.ubuntu.update-notifier show-apport-crashes false
|
||||||
ubuntu-report -f send no
|
ubuntu-report -f send no
|
||||||
@ -41,6 +45,14 @@ sudo systemctl stop whoopsie.service
|
|||||||
sudo systemctl disable whoopsie.service
|
sudo systemctl disable whoopsie.service
|
||||||
sudo systemctl mask whoopsie.service
|
sudo systemctl mask whoopsie.service
|
||||||
|
|
||||||
|
#Update packages and firmware
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt full-upgrade -y
|
||||||
|
sudo fwupdmgr get-devices
|
||||||
|
sudo fwupdmgr refresh --force
|
||||||
|
sudo fwupdmgr get-updates -y
|
||||||
|
sudo fwupdmgr update -y
|
||||||
|
|
||||||
#Remove unneeded packages
|
#Remove unneeded packages
|
||||||
apt purge -y gnome-calculator
|
apt purge -y gnome-calculator
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user