saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2022-05-18 15:21:28 +03:00
parent 7a81b95d4c
commit 4f417c73dd
2 changed files with 8 additions and 0 deletions

View File

@@ -16,5 +16,9 @@ iptables -t filter -A FORWARD -i docker0 -o docker0 -j ACCEPT
echo "[DOCKER] Done."
# restart docker
systemctl restart docker >/dev/null 2>&1
# restart fail2ban after CSF update (otherwise fail2ban rules won't work)
systemctl restart fail2ban >/dev/null 2>&1