diff options
author | obrien <obrien@FreeBSD.org> | 1997-10-06 13:08:14 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-10-06 13:08:14 +0800 |
commit | fba657a5e632a239d68c29c70d8c7ce89f20d300 (patch) | |
tree | 3e676f6bb2c21eec8d14637a6fc734b84cf1162b /net/wide-dhcp | |
parent | f736389b05ad6268a6674a0759d6ec88fb143093 (diff) | |
download | freebsd-ports-gnome-fba657a5e632a239d68c29c70d8c7ce89f20d300.tar.gz freebsd-ports-gnome-fba657a5e632a239d68c29c70d8c7ce89f20d300.tar.zst freebsd-ports-gnome-fba657a5e632a239d68c29c70d8c7ce89f20d300.zip |
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.
Diffstat (limited to 'net/wide-dhcp')
-rw-r--r-- | net/wide-dhcp/files/patch-az | 20 |
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 |