1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-19 13:44:43 -04:00

Enable automatic reboot

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-04-16 15:33:37 -04:00 committed by GitHub
parent f7d95c86a7
commit 907a7006f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,5 +104,5 @@ sudo systemctl restart irqbalance
sudo firewall-cmd --permanent --remove-service=cockpit sudo firewall-cmd --permanent --remove-service=cockpit
sudo firewall-cmd --reload sudo firewall-cmd --reload
sudo sed -i 's/apply_updates = no/apply_updates = yes/g' /etc/dnf/automatic.conf sudo sed -i 's/apply_updates = no/apply_updates = yes\nreboot = when-needed/g' /etc/dnf/automatic.conf
sudo systemctl enable --now dnf-automatic.timer sudo systemctl enable --now dnf-automatic.timer