- Switch to @sample

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-09-01 14:15:01 +00:00
parent d29939a1d6
commit c8a2e468bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395761

View file

@ -1,11 +1,7 @@
@unexec %D/etc/rc.d/isc-dhcpd forcestop 2>/dev/null || true
%%IPV6%%@unexec %D/etc/rc.d/isc-dhcpd6 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
%%IPV6%%@unexec if cmp -s %D/etc/dhcpd6.conf.sample %D/etc/dhcpd6.conf; then rm -f %D/etc/dhcpd6.conf; fi
%%IPV6%%etc/dhcpd6.conf.sample
%%IPV6%%@exec if [ ! -f %D/etc/dhcpd6.conf ] ; then cp -p %D/%F %B/dhcpd6.conf; fi
@sample etc/dhcpd.conf.sample
%%IPV6%%@sample etc/dhcpd6.conf.sample
%%IPV6%%etc/rc.d/isc-dhcpd6
sbin/dhcpd
bin/omshell