1#!/bin/sh -e 2 3# Copyright (C) Internet Systems Consortium, Inc. ("ISC") 4# 5# SPDX-License-Identifier: MPL-2.0 6# 7# This Source Code Form is subject to the terms of the Mozilla Public 8# License, v. 2.0. If a copy of the MPL was not distributed with this 9# file, you can obtain one at https://mozilla.org/MPL/2.0/. 10# 11# See the COPYRIGHT file distributed with this work for additional 12# information regarding copyright ownership. 13 14SYSTEMTESTTOP=.. 15 16export ALGORITHM_SET="ecc_default" 17. $SYSTEMTESTTOP/conf.sh 18 19# Ensure the selected algorithm set is okay. 20if [ "$ALGORITHM_SET" = "error" ]; then 21 echofail "Algorithm selection failed." >&2 22 exit 1 23fi 24 25copy_setports ns1/named1.conf.in ns1/named.conf 26copy_setports ns2/named.conf.in ns2/named.conf 27copy_setports ns3/named.conf.in ns3/named.conf 28copy_setports ns4/named.conf.in ns4/named.conf 29copy_setports ns5/named.conf.in ns5/named.conf 30copy_setports ns6/named.conf.in ns6/named.conf 31copy_setports ns7/named.conf.in ns7/named.conf 32 33cp ns5/named1.args ns5/named.args 34 35( cd ns1 && $SHELL sign.sh ) 36( cd ns6 && $SHELL setup.sh ) 37 38cp ns2/managed.conf ns2/managed1.conf 39 40cd ns4 41mkdir nope 42touch nope/managed-keys.bind 43touch nope/managed.keys.bind.jnl 44chmod 444 nope/* 45