summaryrefslogtreecommitdiff
path: root/net/isc-dhcp3-server
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-25 11:18:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-25 11:18:29 +0000
commite9e1cb3619526bc47eef542d090690fb7c60b602 (patch)
tree6fad71091d43d83c57d13898b56ac20faa9ef9e3 /net/isc-dhcp3-server
parentLots of warnings when compiling hping (diff)
isc-dhcp3 port package creates dhcp.leases in wrong directory
When installing a package created from net/isc-dhcp3 port it creates dhcpd.leases and dhclient.leases in /var/run directory. However, the dhcpd program expects these files to be in /var/db. (it's funny it's the same problem I ran in last weekend on a real machine :-) PR: ports/51918 Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
Diffstat (limited to 'net/isc-dhcp3-server')
-rw-r--r--net/isc-dhcp3-server/pkg-plist8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/isc-dhcp3-server/pkg-plist b/net/isc-dhcp3-server/pkg-plist
index 417b684ada49..f60b752e35d9 100644
--- a/net/isc-dhcp3-server/pkg-plist
+++ b/net/isc-dhcp3-server/pkg-plist
@@ -39,7 +39,7 @@ sbin/dhcrelay
%%PORTDOCS%%@dirrm share/doc/isc-dhcp3
@dirrm include/omapip
@dirrm include/isc-dhcp
-@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
-@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases
-@exec [ -f /var/run/dhcpd.leases ] || touch /var/run/dhcpd.leases
-@unexec [ -s /var/run/dhcpd.leases ] || rm -f /var/run/dhcpd.leases
+@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
+@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
+@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
+@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases