From 435d2d8f34ff77de21eee90904df3274897d425f 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 41fadf14..48263f83 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -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