diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-12-16 03:13:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-12-16 03:13:47 +0000 |
commit | d3c2049eb16f6e04446f8fbe34f56b4dd5f63151 (patch) | |
tree | 9dffbec0bab9026a5be69218ef0553a8da9d985c | |
parent | fbff46d9e73973540390ac8aee16447491aa4cc7 (diff) |
deposit dump file in /var/run; markus
-rw-r--r-- | usr.sbin/rtsold/rtsold.8 | 6 | ||||
-rw-r--r-- | usr.sbin/rtsold/rtsold.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rtsold/rtsold.8 b/usr.sbin/rtsold/rtsold.8 index 18e202d3368..52bddc0cbb9 100644 --- a/usr.sbin/rtsold/rtsold.8 +++ b/usr.sbin/rtsold/rtsold.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rtsold.8,v 1.3 1999/12/10 00:41:30 angelos Exp $ +.\" $OpenBSD: rtsold.8,v 1.4 1999/12/16 03:13:45 deraadt Exp $ .\" .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. .\" All rights reserved. @@ -104,7 +104,7 @@ Upon receipt of signal .Dv SIGUSR1 , .Nm will dump the current internal state into -.Pa /var/tmp/rtsold.dump. +.Pa /var/run/rtsold.dump. .\" .Sh OPTIONS .Bl -tag -width indent @@ -155,7 +155,7 @@ The program exits with 0 on success, non-zero on failures. .It Pa /var/run/rtsold.pid the pid of the currently running .Nm rtsold . -.It Pa /var/tmp/rtsold.dump +.It Pa /var/run/rtsold.dump dumps internal state on. .El .\" diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c index d8b04a18864..ea062901589 100644 --- a/usr.sbin/rtsold/rtsold.c +++ b/usr.sbin/rtsold/rtsold.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsold.c,v 1.3 1999/12/16 03:13:24 deraadt Exp $ */ +/* $OpenBSD: rtsold.c,v 1.4 1999/12/16 03:13:46 deraadt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -81,7 +81,7 @@ int main __P((int argc, char *argv[])); /* static variables and functions */ static int mobile_node = 0; static int do_dump; -static char *dumpfilename = "/var/tmp/rtsold.dump"; /* XXX: should be configurable */ +static char *dumpfilename = "/var/run/rtsold.dump"; /* XXX: should be configurable */ static char *pidfilename = "/var/run/rtsold.pid"; /* should be configurable */ static int ifconfig __P((char *ifname)); |