summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-11-14 21:18:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-11-14 21:18:21 +0000
commitbf316445157edd81f8d5e3f6e30d26fe295990bb (patch)
tree1fcb16fc4a29a2c78e07d0144ad729e420191e7b
parent84168f22507440984a0a526a719365125cfda561 (diff)
put bootpd.dump in /var/run, not /tmp, to avoid /tmp race
-rw-r--r--usr.sbin/bootpd/bootpd.86
-rw-r--r--usr.sbin/bootpd/bootpd.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bootpd/bootpd.8 b/usr.sbin/bootpd/bootpd.8
index 0d138e88650..4a6148fdd1f 100644
--- a/usr.sbin/bootpd/bootpd.8
+++ b/usr.sbin/bootpd/bootpd.8
@@ -1,6 +1,6 @@
.\" Copyright (c) 1988, 1989, 1991 Carnegie Mellon University
.\"
-.\" $Header: /cvs/OpenBSD/src/usr.sbin/bootpd/Attic/bootpd.8,v 1.5 1998/06/03 05:58:36 deraadt Exp $
+.\" $Header: /cvs/OpenBSD/src/usr.sbin/bootpd/Attic/bootpd.8,v 1.6 1998/11/14 21:18:20 millert Exp $
.\"
.TH BOOTPD 8 "November 06, 1993" "Carnegie Mellon University"
.SH NAME
@@ -221,7 +221,7 @@ If
.I bootpd
is compiled with the -DDEBUG option, receipt of a SIGUSR1 signal causes
it to dump its internal database to the file
-.I /etc/bootpd.dump
+.I /var/run/bootpd.dump
or the dumpfile specified as a command line parameter.
.PP
During initialization, both programs
@@ -245,7 +245,7 @@ then the values default to boopts=67 and bootpc=68.
Database file read by
.IR bootpd .
.TP
-/etc/bootpd.dump
+/var/run/bootpd.dump
Debugging dump file created by
.IR bootpd .
.TP
diff --git a/usr.sbin/bootpd/bootpd.c b/usr.sbin/bootpd/bootpd.c
index 7192f5c846b..c7b7bdddb02 100644
--- a/usr.sbin/bootpd/bootpd.c
+++ b/usr.sbin/bootpd/bootpd.c
@@ -21,7 +21,7 @@ SOFTWARE.
************************************************************************/
#ifndef lint
-static char rcsid[] = "$Id: bootpd.c,v 1.4 1998/06/07 06:04:25 deraadt Exp $";
+static char rcsid[] = "$Id: bootpd.c,v 1.5 1998/11/14 21:18:20 millert Exp $";
#endif
/*
@@ -99,7 +99,7 @@ static char rcsid[] = "$Id: bootpd.c,v 1.4 1998/06/07 06:04:25 deraadt Exp $";
#define CONFIG_FILE "/etc/bootptab"
#endif
#ifndef DUMPTAB_FILE
-#define DUMPTAB_FILE "/tmp/bootpd.dump"
+#define DUMPTAB_FILE "/var/run/bootpd.dump"
#endif