summaryrefslogtreecommitdiff
path: root/net/isc-dhcp41-server/pkg-plist
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2010-05-06 20:24:01 +0000
committerWesley Shields <wxs@FreeBSD.org>2010-05-06 20:24:01 +0000
commit541cf69201db734d98c45cf5b9d3c00f09c74876 (patch)
tree90f8963c6cfd5eb0c127b7917f8876221fba93f6 /net/isc-dhcp41-server/pkg-plist
parentFix stopping the server process via the port's rc.d script. (diff)
Welcome net/isc-dhcp41-server, net/isc-dhcp41-client and net/isc-dhcp41-relay
to the tree. There's still a small bit of work to do including adding conflicts for the existing DHCP ports (which should have been conflicting with each other already) and add a 41-devel port so people can use the headers and libraries.
Notes
Notes: svn path=/head/; revision=253843
Diffstat (limited to 'net/isc-dhcp41-server/pkg-plist')
-rw-r--r--net/isc-dhcp41-server/pkg-plist6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/isc-dhcp41-server/pkg-plist b/net/isc-dhcp41-server/pkg-plist
new file mode 100644
index 000000000000..41ded80b23ed
--- /dev/null
+++ b/net/isc-dhcp41-server/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+@unexec %D/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true
+@unexec if cmp -s %D/etc/dhcpd.conf.sample %D/etc/dhcpd.conf; then rm -f %D/etc/dhcpd.conf; fi
+etc/dhcpd.conf.sample
+@exec if [ ! -f %D/etc/dhcpd.conf ] ; then cp -p %D/%F %B/dhcpd.conf; fi
+sbin/dhcpd