From d239c93c26bfaf796c3952695705f44798581f97 Mon Sep 17 00:00:00 2001 From: Blackyfff Date: Mon, 28 Jun 2021 00:47:45 +0200 Subject: [PATCH] If no DNSSECPolicy is set, ignore DNSSECKeyFolder Signed-off-by: Blackyfff --- update-dns.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update-dns.sh b/update-dns.sh index 6b71140..be4b3e2 100644 --- a/update-dns.sh +++ b/update-dns.sh @@ -48,6 +48,7 @@ FirstInternal="$( echo "$InternalViews" | sed -ne 's/^\(\S\+\)\s.*$/\1/p')" BindIcvpnAclTmp="$TempFolder""icvpn-acl.conf" BindIcvpnAcl="$BindIncludeFileFolder""icvpn-acl.conf" [ -z "$CommunityExternPrefix" ] || CommunityExternDomain="$CommunityExternPrefix"".""$CommunityDomain" +[ -n "$DNSSECPolicy" ] || DNSSECKeyFolder="" mkdir -p "$TempFolder""cache"