From ceb9f2097b99dabe8a52482245690451215ae57a Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 5 Jun 2023 23:58:10 -0700 Subject: [PATCH] Update Fedora-Workstation-38.sh Signed-off-by: Tommy --- Fedora-Workstation-38.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Fedora-Workstation-38.sh b/Fedora-Workstation-38.sh index f77fa6f..b92af36 100644 --- a/Fedora-Workstation-38.sh +++ b/Fedora-Workstation-38.sh @@ -47,6 +47,16 @@ rm -rf /etc/chrony/chrony.conf sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf sudo systemctl restart chronyd +# Disable automount +echo '[org/gnome/desktop/media-handling] +automount=false +automount-open=false' | sudo tee /etc/dconf/db/local.d/automount-disable + +echo 'org/gnome/desktop/media-handling/automount +org/gnome/desktop/media-handling/automount-open' | sudo tee /etc/dconf/db/local.d/locks/automount-disable + +sudo dconf update + #Setup Firewalld sudo firewall-cmd --permanent --remove-port=1025-65535/udp sudo firewall-cmd --permanent --remove-port=1025-65535/tcp