From 77969d7c77c17c3f1774dc0c3428adde452141b4 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 20 Jul 2022 11:27:44 +0200 Subject: [PATCH] Add || true to firewall-cmd --- arch-setup/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index dc1beb92..75a455cf 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -636,7 +636,8 @@ set -e # 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