2015-03-02 22:27:54 -05:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
#
|
2018-02-23 03:53:12 -05:00
|
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2015-03-02 22:27:54 -05:00
|
|
|
#
|
2016-06-27 00:56:38 -04:00
|
|
|
# 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
|
2020-09-14 19:50:58 -04:00
|
|
|
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
2018-02-23 03:53:12 -05:00
|
|
|
#
|
|
|
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
|
|
|
# information regarding copyright ownership.
|
2015-03-02 22:27:54 -05:00
|
|
|
|
|
|
|
|
SYSTEMTESTTOP=..
|
|
|
|
|
. $SYSTEMTESTTOP/conf.sh
|
|
|
|
|
|
|
|
|
|
$SHELL clean.sh
|
2017-10-10 21:28:34 -04:00
|
|
|
|
2018-02-20 18:43:27 -05:00
|
|
|
copy_setports ns2/named1.conf.in ns2/named.conf
|
|
|
|
|
|
|
|
|
|
copy_setports ns2/named-alt1.conf.in ns2/named-alt1.conf
|
|
|
|
|
copy_setports ns2/named-alt2.conf.in ns2/named-alt2.conf
|
|
|
|
|
copy_setports ns2/named-alt3.conf.in ns2/named-alt3.conf
|
2019-11-16 00:15:56 -05:00
|
|
|
copy_setports ns2/named-alt4.conf.in ns2/named-alt4.conf
|
|
|
|
|
copy_setports ns2/named-alt5.conf.in ns2/named-alt5.conf
|
|
|
|
|
copy_setports ns2/named-alt6.conf.in ns2/named-alt6.conf
|
2019-11-29 02:47:33 -05:00
|
|
|
copy_setports ns2/named-alt7.conf.in ns2/named-alt7.conf
|
2017-10-10 21:28:34 -04:00
|
|
|
|
|
|
|
|
mkdir ns2/nope
|
2017-10-31 18:29:24 -04:00
|
|
|
|
|
|
|
|
if [ 1 = "${CYGWIN:-0}" ]
|
|
|
|
|
then
|
|
|
|
|
setfacl -s user::r-x,group::r-x,other::r-x ns2/nope
|
|
|
|
|
else
|
|
|
|
|
chmod 555 ns2/nope
|
|
|
|
|
fi
|