aboutsummaryrefslogtreecommitdiff
path: root/net/wide-dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'net/wide-dhcp')
-rw-r--r--net/wide-dhcp/files/patch-az4
-rw-r--r--net/wide-dhcp/pkg-plist1
2 files changed, 3 insertions, 2 deletions
diff --git a/net/wide-dhcp/files/patch-az b/net/wide-dhcp/files/patch-az
index b01432c82fe2..9685efd580ee 100644
--- a/net/wide-dhcp/files/patch-az
+++ b/net/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/wide-dhcp/pkg-plist b/net/wide-dhcp/pkg-plist
index 1dfaa3c6fb0c..24f37b0da275 100644
--- a/net/wide-dhcp/pkg-plist
+++ b/net/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