summaryrefslogtreecommitdiff
path: root/net/wide-dhcp
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-10-06 05:08:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-10-06 05:08:14 +0000
commitfc653240677327603bdfa5b3acd3e6ca0dd42a28 (patch)
treee07d15c0b2468a3cc0f821fd32b5042b58ab8c8b /net/wide-dhcp
parentUpgrade to 1.6.3. (diff)
Move the client cache file from /etc to /var/tmp (which survies a reboot).
I'm don't really care where under /var it lives, but I do want it out of /etc.
Notes
Notes: svn path=/head/; revision=8136
Diffstat (limited to 'net/wide-dhcp')
-rw-r--r--net/wide-dhcp/files/patch-az20
1 files changed, 16 insertions, 4 deletions
diff --git a/net/wide-dhcp/files/patch-az b/net/wide-dhcp/files/patch-az
index 732ebc107a52..b01432c82fe2 100644
--- a/net/wide-dhcp/files/patch-az
+++ b/net/wide-dhcp/files/patch-az
@@ -1,5 +1,5 @@
---- client/dhcpc.8.orig Tue Sep 12 13:54:16 1995
-+++ client/dhcpc.8 Mon Apr 21 23:52:15 1997
+--- client/dhcpc.8.orig Mon Sep 11 21:54:16 1995
++++ client/dhcpc.8 Sun Oct 5 21:59:07 1997
@@ -5,7 +5,7 @@
.SH SYNOPSIS
.B dhcpc
@@ -9,6 +9,15 @@
]
.I interface
.SH DESCRIPTION
+@@ -26,7 +26,7 @@
+ requests server to assign the same address as before.
+ To get the same address,
+ .B dhcpc
+-creates file named "/etc/dhcp_cache". This file name could be
++creates file named "/var/tmp/dhcp_cache". This file name could be
+ configured when it is compiled. But it is required that the file must
+ remains after the host reboot. For example, the /tmp directory is not
+ appropriate for this purpose.
@@ -37,6 +37,21 @@
.B dhcpc
runs in foreground and debugging mode.
@@ -31,9 +40,12 @@
The DHCP client can verify whether its assigned information is still
valid at any time.
.B dhcpc
-@@ -66,6 +81,9 @@
+@@ -64,8 +79,11 @@
+ .SH FILES
+ .PD 0
.TP 20
- .B /etc/dhcp_cache
+-.B /etc/dhcp_cache
++.B /var/tmp/dhcp_cache
The file to record previously assigned informations
+.TP
+.B /var/run/dhcpc.[interface name].pid