setup.sh 454 Bytes
Newer Older
Evan Hunt's avatar
Evan Hunt committed
1 2
#!/bin/sh -e
#
3
# Copyright (C) 2015, 2016  Internet Systems Consortium, Inc. ("ISC")
Evan Hunt's avatar
Evan Hunt committed
4
#
5 6 7
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Evan Hunt's avatar
Evan Hunt committed
8 9 10 11 12 13

SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh

$SHELL clean.sh

14
test -r $RANDFILE || $GENRANDOM 800 $RANDFILE
Evan Hunt's avatar
Evan Hunt committed
15 16 17 18

cp ns1/named1.conf ns1/named.conf

cd ns1 && $SHELL sign.sh