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

Change the cache file to /var/db/dhcp_cache

Suggested by:	Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
This commit is contained in:
David E. O'Brien 1997-10-06 22:00:14 +00:00
parent d647df7d5f
commit f8d69eaffa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8142
4 changed files with 6 additions and 4 deletions

View File

@ -14,7 +14,7 @@
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
+creates file named "/var/db/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.
@ -45,7 +45,7 @@
.PD 0
.TP 20
-.B /etc/dhcp_cache
+.B /var/tmp/dhcp_cache
+.B /var/db/dhcp_cache
The file to record previously assigned informations
+.TP
+.B /var/run/dhcpc.[interface name].pid

View File

@ -21,3 +21,4 @@ etc/rc.d/wide-dhcps.sh.sample
@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcps /etc/services.bak ) > /etc/services
@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcpc /etc/services.bak ; echo "dhcpc 68/udp # dhcp client") > /etc/services
@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcpc /etc/services.bak ) > /etc/services
@unexec rm -f /var/db/dhcp_cache

View File

@ -14,7 +14,7 @@
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
+creates file named "/var/db/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.
@ -45,7 +45,7 @@
.PD 0
.TP 20
-.B /etc/dhcp_cache
+.B /var/tmp/dhcp_cache
+.B /var/db/dhcp_cache
The file to record previously assigned informations
+.TP
+.B /var/run/dhcpc.[interface name].pid

View File

@ -21,3 +21,4 @@ etc/rc.d/wide-dhcps.sh.sample
@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcps /etc/services.bak ) > /etc/services
@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcpc /etc/services.bak ; echo "dhcpc 68/udp # dhcp client") > /etc/services
@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^dhcpc /etc/services.bak ) > /etc/services
@unexec rm -f /var/db/dhcp_cache