diff options
author | 1999-12-16 03:13:45 +0000 | |
---|---|---|
committer | 1999-12-16 03:13:45 +0000 | |
commit | a6d0553bb0edd560cd13f42dc63826d6e1811ce7 (patch) | |
tree | 9d4d4c5b2335729d956faeb31c68ae43bd633804 | |
parent | use arc4random() (diff) | |
download | wireguard-openbsd-a6d0553bb0edd560cd13f42dc63826d6e1811ce7.tar.xz wireguard-openbsd-a6d0553bb0edd560cd13f42dc63826d6e1811ce7.zip |
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)); |