mirror of
https://github.com/casjaysdevdocker/bind
synced 2025-06-07 15:13:56 -04:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/02-named.sh
This commit is contained in:
parent
9a9fb0cd8b
commit
98c6970e14
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user