diff --git a/rootfs/root/docker/setup/02-packages.sh b/rootfs/root/docker/setup/02-packages.sh index 8300666..16be19a 100755 --- a/rootfs/root/docker/setup/02-packages.sh +++ b/rootfs/root/docker/setup/02-packages.sh @@ -30,7 +30,10 @@ exitCode=0 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Main script - +rm -Rf /etc/bind.* /etc/named.* +rm -Rf "/etc/bind"/* "/var/bind"/* +rm -Rf "/etc/named"/* "/var/named"/* +mkdir -p "/etc/bind/keys" "/var/bind/zones" "/var/bind/primary" "/var/bind/secondary" "/var/bind/stats" "/var/bind/dynamic" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Set the exit code exitCode=$? diff --git a/rootfs/root/docker/setup/03-files.sh b/rootfs/root/docker/setup/03-files.sh index a52c623..94dd5cb 100755 --- a/rootfs/root/docker/setup/03-files.sh +++ b/rootfs/root/docker/setup/03-files.sh @@ -64,10 +64,7 @@ fi unset config # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Main script -rm -Rf /etc/bind.* /etc/named.* -rm -Rf "/etc/bind"/* "/var/bind"/* -rm -Rf "/etc/named"/* "/var/named"/* -mkdir -p "/etc/bind/keys" "/var/bind/zones" "/var/bind/primary" "/var/bind/secondary" "/var/bind/stats" "/var/bind/dynamic" + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Set the exit code exitCode=$?