From 622e378103c91b13ffebb3234d336ebb86d6eef9 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Fri, 18 Feb 2022 20:08:25 -0600 Subject: [PATCH] Disable pre-installed ufw --- quick_jibri_installer.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 5502167..0b9548b 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -340,6 +340,10 @@ apt-get -y install \ if [ "$LE_SSL" = "yes" ]; then apt-get -y install \ letsencrypt + if [ "$(dpkg-query -W -f='${Status}' ufw 2>/dev/null | grep -c "ok installed")" == "1" ]; then + echo "# Disable pre-installed ufw to allow ssl challenges validation." + ufw disable + fi fi echo "# Check and Install HWE kernel if possible..."