1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

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.
This commit is contained in:
David E. O'Brien 1997-10-06 05:08:14 +00:00
parent 9009b1a51c
commit fc65324067
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8136
2 changed files with 32 additions and 8 deletions

View File

@ -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

View File

@ -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