From 98c6970e14add45c0d6978de988415a50c009018 Mon Sep 17 00:00:00 2001 From: casjay Date: Fri, 6 Jun 2025 23:29:41 -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/usr/local/etc/docker/init.d/02-named.sh --- rootfs/usr/local/etc/docker/init.d/02-named.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/02-named.sh b/rootfs/usr/local/etc/docker/init.d/02-named.sh index 41e9ffa..92fa18d 100755 --- a/rootfs/usr/local/etc/docker/init.d/02-named.sh +++ b/rootfs/usr/local/etc/docker/init.d/02-named.sh @@ -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"