From 1b52a3f34c8c572228bd508887ee26dcc00148d3 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 22 Sep 2019 11:29:26 +0200 Subject: [PATCH] plugins: whitespace sweep --- .../src/opnsense/scripts/OPNsense/Unboundplus/dnsbl.sh | 4 ++-- .../src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dns/unbound-plus/src/opnsense/scripts/OPNsense/Unboundplus/dnsbl.sh b/dns/unbound-plus/src/opnsense/scripts/OPNsense/Unboundplus/dnsbl.sh index c2b0f83b9..842c53c36 100755 --- a/dns/unbound-plus/src/opnsense/scripts/OPNsense/Unboundplus/dnsbl.sh +++ b/dns/unbound-plus/src/opnsense/scripts/OPNsense/Unboundplus/dnsbl.sh @@ -215,10 +215,10 @@ install() { for FILE in $(find ${WORKDIR} -type f); do WHITE=$(cat ${DESTDIR}/whitelist.inc | tr ',' '|') if [ -z "${WHITE}" ]; then - cat ${FILE} | sort -u | awk '{printf "server:\n", $1; printf "local-data: \"%s A 0.0.0.0\"\n", $1}' > ${FILE}.inc + cat ${FILE} | sort -u | awk '{printf "server:\n", $1; printf "local-data: \"%s A 0.0.0.0\"\n", $1}' > ${FILE}.inc else cat ${FILE} | sort -u | egrep -v "$WHITE" | awk '{printf "server:\n", $1; printf "local-data: \"%s A 0.0.0.0\"\n", $1}' > ${FILE}.inc - fi + fi done # Merge resulting files (/dev/null in case there are none) cat $(find ${WORKDIR} -type f -name "*.inc") /dev/null > ${DESTDIR}/dnsbl.conf diff --git a/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml b/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml index e76e87952..e2d2a99e5 100644 --- a/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml +++ b/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml @@ -34,7 +34,7 @@ All IPv4 IPv6 - + N