aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-01 22:14:45 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-01 22:14:45 +0800
commit6e7d49817cedf051e348101c7f8bbf90b76b26fe (patch)
treef762c04abb1db36cec7d2066b00152016e64c98d /net
parent1c7eeb223e97f91d91e32dbcc362630ef9389d48 (diff)
downloadfreebsd-ports-gnome-6e7d49817cedf051e348101c7f8bbf90b76b26fe.tar.gz
freebsd-ports-gnome-6e7d49817cedf051e348101c7f8bbf90b76b26fe.tar.zst
freebsd-ports-gnome-6e7d49817cedf051e348101c7f8bbf90b76b26fe.zip
- Switch to @sample
Approved by: portmgr blanket
Diffstat (limited to 'net')
-rw-r--r--net/isc-dhcp41-client/pkg-plist4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/isc-dhcp41-client/pkg-plist b/net/isc-dhcp41-client/pkg-plist
index 03c9b70b5de0..b776bed60258 100644
--- a/net/isc-dhcp41-client/pkg-plist
+++ b/net/isc-dhcp41-client/pkg-plist
@@ -4,8 +4,6 @@ man/man5/dhclient.conf.5.gz
man/man5/dhclient.leases.5.gz
man/man8/dhclient.8.gz
man/man8/dhclient-script.8.gz
-@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
+@sample etc/dhclient.conf.sample
@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases