From 5bec8014fccc0fe2202acb3029c89353415be501 Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Wed, 20 Jul 2016 17:12:23 -0400 Subject: [PATCH] added it under the firewall conditions so it will run only if enabled --- setup/start.sh | 3 --- setup/system.sh | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/start.sh b/setup/start.sh index 4a39df48..9d19a411 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -127,9 +127,6 @@ management/ssl_certificates.py -q # If there aren't any mail users yet, create one. source setup/firstuser.sh -#Setup Blocklist -source setup/blacklist.sh - # Done. echo echo "-----------------------------------------------" diff --git a/setup/system.sh b/setup/system.sh index cc152524..0c3654b7 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -245,6 +245,10 @@ if [ -z "$DISABLE_FIREWALL" ]; then fi ufw --force enable; + + #Setup Blocklist + source setup/blacklist.sh + fi #NODOC # ### Local DNS Service