🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/init.d/02-named.sh
This commit is contained in:
casjay 2025-06-06 23:29:41 -04:00
parent 9a9fb0cd8b
commit 98c6970e14
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -275,9 +275,9 @@ __update_conf_files() {
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# define actions
if [ -f "$CONF_DIR/custom.conf" ]; then
mv -f "$CONF_DIR/custom.conf" "$NAMED_CONFIG_FILE"
cp -f "$CONF_DIR/custom.conf" "$NAMED_CONFIG_FILE"
elif [ -f "$ETC_DIR/custom.conf" ]; then
mv -f "$ETC_DIR/custom.conf" "$NAMED_CONFIG_FILE"
cp -f "$ETC_DIR/custom.conf" "$NAMED_CONFIG_FILE"
fi
[ -n "$KEY_RNDC" ] && echo "$KEY_RNDC" >"$CONF_DIR/secrets/rndc.key"
[ -n "$KEY_DHCP" ] && echo "$KEY_DHCP" >"$CONF_DIR/secrets/dhcp.key"