From f5eb1feb5fa63e7a8a86a5b63dfd54946cf4ac9c Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 27 Aug 2024 12:44:47 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/root/docker/setup/02-packages.sh rootfs/root/docker/setup/03-files.sh --- rootfs/root/docker/setup/02-packages.sh | 5 ++++- rootfs/root/docker/setup/03-files.sh | 5 +---- 2 files changed, 5 insertions(+), 5 deletions(-) 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=$?