summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-05-23 19:28:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-05-23 19:28:35 +0000
commit348b778b0a7fd5ca5cc429a34afd26d561510710 (patch)
tree86f86aafdf6b357d393069dca54488400af99aa7
parent0aa08ff3124bbea801482fbcabdff4ab1789425e (diff)
make default location of named.boot and named-xfer /var/named
-rw-r--r--usr.sbin/named/named/pathnames.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/named/named/pathnames.h b/usr.sbin/named/named/pathnames.h
index 41343b6a0b4..cf6379249e3 100644
--- a/usr.sbin/named/named/pathnames.h
+++ b/usr.sbin/named/named/pathnames.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pathnames.h,v 1.5 1998/05/22 07:09:21 millert Exp $ */
+/* $OpenBSD: pathnames.h,v 1.6 1998/05/23 19:28:34 millert Exp $ */
/*
* @(#)pathnames.h 5.4 (Berkeley) 6/1/90
@@ -64,7 +64,11 @@
# define _PATH_XFER_PREDEFINED /* probably from Makefile */
#endif
-#if defined (__sgi) && !defined(_SYSTYPE_SVR4) && !defined(__SYSTYPE_SVR4)
+#ifdef __OpenBSD__
+#ifndef _PATH_XFER
+#define _PATH_XFER "/var/named/named-xfer"
+#define _PATH_BOOT "/var/named/named.boot"
+#elif defined (__sgi) && !defined(_SYSTYPE_SVR4) && !defined(__SYSTYPE_SVR4)
#define _PATH_BOOT "/usr/etc/named.d/named.boot"
#else
#define _PATH_BOOT "/etc/named.boot"