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:
parent
7369a3612c
commit
be23c136ca
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user