aboutsummaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp3-server
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-25 19:18:29 +0800
committeredwin <edwin@FreeBSD.org>2003-08-25 19:18:29 +0800
commit2881c8bd6c980d4d01d7e81125d490397453c788 (patch)
tree79c16868883b09d4e4aae5e2940bd16f8dfc2653 /net/isc-dhcp3-server
parent04f3e8cbfa33c9159535249584b5bd34f44479f8 (diff)
downloadfreebsd-ports-graphics-2881c8bd6c980d4d01d7e81125d490397453c788.tar.gz
freebsd-ports-graphics-2881c8bd6c980d4d01d7e81125d490397453c788.tar.zst
freebsd-ports-graphics-2881c8bd6c980d4d01d7e81125d490397453c788.zip
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 417b684ada4..f60b752e35d 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