From 5f3a3207a0d86fe328ed6c579d11c39c6d6a6a43 Mon Sep 17 00:00:00 2001 From: dougb Date: Mon, 18 Jul 2011 08:10:49 +0000 Subject: The named.reload script is no longer useful in the age of rc.d --- usr.sbin/Makefile | 1 - usr.sbin/named.reload/Makefile | 9 ----- usr.sbin/named.reload/named.reload.8 | 68 ----------------------------------- usr.sbin/named.reload/named.reload.sh | 42 ---------------------- 4 files changed, 120 deletions(-) delete mode 100644 usr.sbin/named.reload/Makefile delete mode 100644 usr.sbin/named.reload/named.reload.8 delete mode 100644 usr.sbin/named.reload/named.reload.sh (limited to 'usr.sbin') diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 75a06d7..fa1936c 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -133,7 +133,6 @@ SUBDIR+= named SUBDIR+= named-checkconf SUBDIR+= named-checkzone SUBDIR+= named-journalprint -SUBDIR+= named.reload SUBDIR+= nsec3hash SUBDIR+= rndc SUBDIR+= rndc-confgen diff --git a/usr.sbin/named.reload/Makefile b/usr.sbin/named.reload/Makefile deleted file mode 100644 index 7ea9d06..0000000 --- a/usr.sbin/named.reload/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -SCRIPTS= named.reload.sh -MAN= named.reload.8 - -LINKS= ${BINDIR}/named.reload ${BINDIR}/named.reconfig -MLINKS= named.reload.8 named.reconfig.8 - -.include diff --git a/usr.sbin/named.reload/named.reload.8 b/usr.sbin/named.reload/named.reload.8 deleted file mode 100644 index 6458774..0000000 --- a/usr.sbin/named.reload/named.reload.8 +++ /dev/null @@ -1,68 +0,0 @@ -.\"- -.\" Copyright (c) 2004 Dag-Erling Coïdan Smørgrav -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer -.\" in this position and unchanged. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -.\" -.\" $FreeBSD$ -.\" -.Dd September 21, 2004 -.Dt NAMED.RELOAD 8 -.Os -.Sh NAME -.Nm named.reconfig , -.Nm named.reload -.Nd reload name server configuration -.Sh SYNOPSIS -.Nm named.reconfig -.Op Fl V -.Op Fl c config-file -.Op Fl k key-file -.Op Fl s server -.Op Fl p port -.Op Fl y keyid -.Nm named.reload -.Op Fl V -.Op Fl c config-file -.Op Fl k key-file -.Op Fl s server -.Op Fl p port -.Op Fl y keyid -.Sh DESCRIPTION -The -.Nm named.reconfig -command signals the name server to reload its configuration files and -load any new zones. -.Pp -The -.Nm named.reload -command signals the name server to reload its configuration files and -all zones. -.Pp -Both these commands take the same command-line arguments as -.Xr rndc 8 , -except for the command argument, which is implied by the name. -.Sh SEE ALSO -.Xr named.conf 5 , -.Xr rndc.conf 5 , -.Xr named 8 , -.Xr rndc 8 diff --git a/usr.sbin/named.reload/named.reload.sh b/usr.sbin/named.reload/named.reload.sh deleted file mode 100644 index d1ee3af..0000000 --- a/usr.sbin/named.reload/named.reload.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh -#- -# Copyright (c) 2004 Dag-Erling Coïdan Smørgrav -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer -# in this position and unchanged. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# $FreeBSD$ -# - -rndc=/usr/sbin/rndc -me=$(basename $0) -cmd=${me#named.} -cmd=${cmd%.sh} - -args=$(getopt "c:k:s:p:Vy:" "$@") -if [ $? -ne 0 -o $# -ne 0 ] ; then - echo "usage: ${me} [-V] [-c config-file] [-k key-file]" 1>&2 - echo " [-s server] [-p port] [-y keyid]" 1>&2 - exit 1 -fi - -exec "${rndc}" "$@" "${cmd}" -- cgit v1.1