Add || true to firewall-cmd
This commit is contained in:
parent
24ac85975b
commit
435d2d8f34
@ -383,7 +383,8 @@ systemctl --user enable autotrash.timer
|
||||
# enable firewall
|
||||
echo "Enabling Firewall"
|
||||
sudo systemctl enable --now firewalld
|
||||
sudo firewall-cmd --zone=public --permanent --remove-service=ssh
|
||||
# || true because firewalld doesn't work without a reboot
|
||||
sudo firewall-cmd --zone=public --permanent --remove-service=ssh || true
|
||||
|
||||
# enable lightdm
|
||||
sudo systemctl enable lightdm
|
||||
|
Loading…
Reference in New Issue
Block a user