Fix if
This commit is contained in:
parent
e22f5ee494
commit
d142397330
2
build.sh
2
build.sh
@ -101,7 +101,7 @@ do
|
|||||||
process_templates "/etc/bind/$netname/" "$sigil_vars"
|
process_templates "/etc/bind/$netname/" "$sigil_vars"
|
||||||
|
|
||||||
# Wireguard
|
# Wireguard
|
||||||
if [ $wg_enabled -eq "1" ]; then
|
if [ "$wg_enabled" -eq "1" ]; then
|
||||||
# Remove existing configuration
|
# Remove existing configuration
|
||||||
rm -v -rf /etc/wireguard/$netname/*
|
rm -v -rf /etc/wireguard/$netname/*
|
||||||
# Copy all bind default files to /etc/(bind)
|
# Copy all bind default files to /etc/(bind)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user