🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/03-files.sh
rootfs/usr/local/etc/docker/init.d/00-named.sh
This commit is contained in:
casjay
2024-08-27 12:12:13 -04:00
parent 2aacad4d0c
commit bf9dfb8166
2 changed files with 27 additions and 8 deletions

View File

@@ -64,7 +64,10 @@ fi
unset config
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script
rm -Rf /etc/bind /etc/named /var/bind /var/named
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=$?