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 14export ALGORITHM_SET="ecc_default" 15. ../conf.sh 16 17# Ensure the selected algorithm set is okay. 18if [ "$ALGORITHM_SET" = "error" ]; then 19 echofail "Algorithm selection failed." >&2 20 exit 1 21fi 22 23copy_setports ns1/named1.conf.in ns1/named.conf 24copy_setports ns2/named.conf.in ns2/named.conf 25copy_setports ns3/named.conf.in ns3/named.conf 26copy_setports ns4/named.conf.in ns4/named.conf 27copy_setports ns5/named.conf.in ns5/named.conf 28copy_setports ns6/named.conf.in ns6/named.conf 29copy_setports ns7/named.conf.in ns7/named.conf 30 31cp ns5/named1.args ns5/named.args 32 33(cd ns1 && $SHELL sign.sh) 34(cd ns4 && $SHELL sign.sh) 35(cd ns6 && $SHELL setup.sh) 36 37cp ns2/managed.conf ns2/managed1.conf 38 39cd ns4 40mkdir nope 41touch nope/managed-keys.bind 42touch nope/managed.keys.bind.jnl 43chmod 444 nope/* 44