1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-25 00:01:59 -05:00

Remove fwupd on servers when not needed

This commit is contained in:
Tommy 2024-08-13 15:19:09 -07:00 committed by GitHub
parent 7369a3612c
commit be23c136ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 0 deletions

View File

@ -150,6 +150,8 @@ if [ "$virtualization" = 'none' ]; then
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl enable --now fwupd-refresh.timer
else
sudo dnf remove -y fwupd
fi
# Setup tuned

View File

@ -173,6 +173,8 @@ if [ "$virtualization" = 'none' ]; then
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl enable --now fwupd-refresh.timer
else
sudo dnf remove -y fwupd
fi
# Setup tuned

View File

@ -133,6 +133,8 @@ if [ "$virtualization" = 'none' ]; then
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl enable --now fwupd-refresh.timer
else
sudo apt purge -y fwupd
fi
# Setup unbound