#!/bin/bash set -e fix_named_conf() { # The following sed script: # - scopes the named.conf changes to dynamic-db # - replaces arg "name value" syntax with name "value" # - changes dynamic-db header to dyndb # - uses the new way the define path to the library # - removes no longer supported arguments (library, cache_ttl, # psearch, serial_autoincrement, zone_refresh) while read -r PATTERN do SEDSCRIPT+="$PATTERN" done <