diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-10-06 22:00:14 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-10-06 22:00:14 +0000 |
commit | f8d69eaffa7e8e12dd80f3935acde6b739ac1ca6 (patch) | |
tree | fe8d4c660d501701ab10eeeb7a3fa1bdf3059d3a /net-mgmt/wide-dhcp | |
parent | Update to newer 18a snapshot. (diff) |
Change the cache file to /var/db/dhcp_cache
Suggested by: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
Notes
Notes:
svn path=/head/; revision=8142
Diffstat (limited to 'net-mgmt/wide-dhcp')
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-az | 4 | ||||
-rw-r--r-- | net-mgmt/wide-dhcp/pkg-plist | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-az b/net-mgmt/wide-dhcp/files/patch-az index b01432c82fe2..9685efd580ee 100644 --- a/net-mgmt/wide-dhcp/files/patch-az +++ b/net-mgmt/wide-dhcp/files/patch-az @@ -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 diff --git a/net-mgmt/wide-dhcp/pkg-plist b/net-mgmt/wide-dhcp/pkg-plist index 1dfaa3c6fb0c..24f37b0da275 100644 --- a/net-mgmt/wide-dhcp/pkg-plist +++ b/net-mgmt/wide-dhcp/pkg-plist @@ -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 |