1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 09:31:34 -05:00

Remove automatic fwupd update service from Fedora Workstation

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-12-01 20:13:09 -07:00
parent 898f18fa34
commit 06ef0e7ca0
No known key found for this signature in database
GPG Key ID: D30DEC268D3FEB17

View File

@ -171,10 +171,6 @@ if [ "$virt_type" = "" ]; then
sudo dnf install fwupd -y sudo dnf install fwupd -y
echo 'UriSchemes=file;https' | sudo tee -a /etc/fwupd/fwupd.conf echo 'UriSchemes=file;https' | sudo tee -a /etc/fwupd/fwupd.conf
sudo systemctl restart fwupd sudo systemctl restart fwupd
mkdir -p /etc/systemd/system/fwupd-refresh.service.d
sudo curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/system/fwupd-refresh.service.d/override.conf -o /etc/systemd/system/fwupd-refresh.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl enable --now fwupd-refresh.timer
fi fi
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."