freebsd-ports/net/isc-dhcp41-client/pkg-plist
Wesley Shields 541cf69201 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.
2010-05-06 20:24:01 +00:00

8 lines
408 B
Text

@comment $FreeBSD$
sbin/dhclient
sbin/dhclient-script
@unexec if cmp -s %D/etc/dhclient.conf.sample %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi
etc/dhclient.conf.sample
@exec if [ ! -f %D/etc/dhclient.conf ] ; then cp -p %D/%F %B/dhclient.conf; fi
@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases