aboutsummaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp3
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1998-07-26 06:16:40 +0800
committerjseger <jseger@FreeBSD.org>1998-07-26 06:16:40 +0800
commitad8455c36747de540183e173f8e31019a5e8cb24 (patch)
treed0acb58a83aa4151935ff29368177af99ec0444f /net/isc-dhcp3
parentde7772f01367bd1c78e9b68a3a2d69deef58473b (diff)
downloadfreebsd-ports-gnome-ad8455c36747de540183e173f8e31019a5e8cb24.tar.gz
freebsd-ports-gnome-ad8455c36747de540183e173f8e31019a5e8cb24.tar.zst
freebsd-ports-gnome-ad8455c36747de540183e173f8e31019a5e8cb24.zip
touch /etc/dhclient.conf after install
This lets dhclient run without someone creating a customized file. Requested by: obrien
Diffstat (limited to 'net/isc-dhcp3')
-rw-r--r--net/isc-dhcp3/Makefile3
-rw-r--r--net/isc-dhcp3/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/net/isc-dhcp3/Makefile b/net/isc-dhcp3/Makefile
index ad8be6e73a98..a6cfb13cb1d6 100644
--- a/net/isc-dhcp3/Makefile
+++ b/net/isc-dhcp3/Makefile
@@ -3,7 +3,7 @@
# Date created: 7 Mar 1996
# Whom: se
#
-# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
+# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
#
DISTNAME= dhcp-2.0b1pl6
@@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
post-install:
${TOUCH} /var/db/dhcpd.leases
+ ${TOUCH} /etc/dhclient.conf
.for file in dhclient dhcpd dhcrelay
if [ -f ${PREFIX}/sbin/${file} ]; then \
strip ${PREFIX}/sbin/${file}; \
diff --git a/net/isc-dhcp3/pkg-plist b/net/isc-dhcp3/pkg-plist
index 0187ba9f2f93..273a97569706 100644
--- a/net/isc-dhcp3/pkg-plist
+++ b/net/isc-dhcp3/pkg-plist
@@ -11,3 +11,4 @@ sbin/dhclient
sbin/dhcpd
sbin/dhcrelay
@exec touch /var/db/dhcpd.leases
+@exec touch /etc/dhclient.conf