This commit is contained in:
Manevolent 2021-09-21 15:36:31 -06:00
parent e22f5ee494
commit d142397330
No known key found for this signature in database
GPG Key ID: 2E9B7592DFA4F344

View File

@ -101,7 +101,7 @@ do
process_templates "/etc/bind/$netname/" "$sigil_vars"
# Wireguard
if [ $wg_enabled -eq "1" ]; then
if [ "$wg_enabled" -eq "1" ]; then
# Remove existing configuration
rm -v -rf /etc/wireguard/$netname/*
# Copy all bind default files to /etc/(bind)