summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-10-06 05:08:14 +0000
committerobrien <obrien@FreeBSD.org>1997-10-06 05:08:14 +0000
commitfba657a5e632a239d68c29c70d8c7ce89f20d300 (patch)
tree3e676f6bb2c21eec8d14637a6fc734b84cf1162b
parentf736389b05ad6268a6674a0759d6ec88fb143093 (diff)
downloadFreeBSD-ports-fba657a5e632a239d68c29c70d8c7ce89f20d300.zip
FreeBSD-ports-fba657a5e632a239d68c29c70d8c7ce89f20d300.tar.gz
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.
-rw-r--r--net-mgmt/wide-dhcp/files/patch-az20
-rw-r--r--net/wide-dhcp/files/patch-az20
2 files changed, 32 insertions, 8 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-az b/net-mgmt/wide-dhcp/files/patch-az
index 732ebc107..b01432c 100644
--- a/net-mgmt/wide-dhcp/files/patch-az
+++ b/net-mgmt/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
diff --git a/net/wide-dhcp/files/patch-az b/net/wide-dhcp/files/patch-az
index 732ebc107..b01432c 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
OpenPOWER on IntegriCloud