mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-09 11:41:33 -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 chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable --now fwupd-refresh.timer
|
sudo systemctl enable --now fwupd-refresh.timer
|
||||||
|
else
|
||||||
|
sudo dnf remove -y fwupd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup tuned
|
# Setup tuned
|
||||||
|
@ -173,6 +173,8 @@ if [ "$virtualization" = 'none' ]; then
|
|||||||
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable --now fwupd-refresh.timer
|
sudo systemctl enable --now fwupd-refresh.timer
|
||||||
|
else
|
||||||
|
sudo dnf remove -y fwupd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup tuned
|
# Setup tuned
|
||||||
|
@ -133,6 +133,8 @@ if [ "$virtualization" = 'none' ]; then
|
|||||||
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
sudo chmod 644 /etc/systemd/system/fwupd-refresh.service.d/override.conf
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable --now fwupd-refresh.timer
|
sudo systemctl enable --now fwupd-refresh.timer
|
||||||
|
else
|
||||||
|
sudo apt purge -y fwupd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup unbound
|
# Setup unbound
|
||||||
|
Loading…
Reference in New Issue
Block a user