summaryrefslogtreecommitdiff
path: root/usr.sbin/named/restart
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-02-19 19:54:44 +0000
committerdm <dm@cvs.openbsd.org>1996-02-19 19:54:44 +0000
commit34dfcd3c571a64de57872aa758d1b228d7b22a02 (patch)
tree22b14dd50dff4fc41ec5c5f2ee3e20f4b7f1d141 /usr.sbin/named/restart
parentd134390523f594c4e7f1b453b8026b993a1aeebb (diff)
netbsd: bind 4.9.3
Diffstat (limited to 'usr.sbin/named/restart')
-rw-r--r--usr.sbin/named/restart/Makefile22
-rw-r--r--usr.sbin/named/restart/named.restart.sh8
2 files changed, 30 insertions, 0 deletions
diff --git a/usr.sbin/named/restart/Makefile b/usr.sbin/named/restart/Makefile
new file mode 100644
index 00000000000..dd57a21444d
--- /dev/null
+++ b/usr.sbin/named/restart/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 1996/02/02 15:30:35 mrg Exp $
+# from: $Id: Makefile,v 8.1 1994/12/15 06:23:47 vixie Exp
+
+.PATH: ${.CURDIR}/../named \
+ ${.CURDIR}/../man
+
+all: named.restart named.restart.cat8
+
+CLEANFILES+= named.restart
+MAN= named.restart.8
+
+realinstall:
+ install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ named.restart ${DESTDIR}${BINDIR}/named.restart
+
+named.restart: named.restart.sh Makefile ${.CURDIR}/../Makefile.inc
+ sed -e "s|%DESTSBIN%|${BINDIR}|" \
+ < ${.CURDIR}/named.restart.sh > named.restart
+ chmod +x named.restart
+
+.include <bsd.prog.mk>
+.include "../../Makefile.inc"
diff --git a/usr.sbin/named/restart/named.restart.sh b/usr.sbin/named/restart/named.restart.sh
new file mode 100644
index 00000000000..59d6c48ce61
--- /dev/null
+++ b/usr.sbin/named/restart/named.restart.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -
+#
+# $NetBSD: named.restart.sh,v 1.1 1996/02/02 15:30:36 mrg Exp $
+# from named.restart 5.4 (Berkeley) 6/27/89
+# from: $Id: named.restart.sh,v 8.1 1994/12/15 06:24:14 vixie Exp
+#
+
+exec %DESTSBIN%/ndc restart