diff options
author | zi <zi@FreeBSD.org> | 2012-07-28 21:00:57 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2012-07-28 21:00:57 +0800 |
commit | 60949e152d9b75d6f01c6e6afc160c6e3abf54f5 (patch) | |
tree | 8a5ec28bfff313289796301163af032bb98b9ae1 | |
parent | a7d89d794dc0784d34bb351c5baa19f3aa4a1a1d (diff) | |
download | freebsd-ports-gnome-60949e152d9b75d6f01c6e6afc160c6e3abf54f5.tar.gz freebsd-ports-gnome-60949e152d9b75d6f01c6e6afc160c6e3abf54f5.tar.zst freebsd-ports-gnome-60949e152d9b75d6f01c6e6afc160c6e3abf54f5.zip |
- Do not stop daemons at de-install, print a message instead.
-rw-r--r-- | net/isc-dhcp42-server/pkg-plist | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/isc-dhcp42-server/pkg-plist b/net/isc-dhcp42-server/pkg-plist index b9ccd19a3638..9784f22eee49 100644 --- a/net/isc-dhcp42-server/pkg-plist +++ b/net/isc-dhcp42-server/pkg-plist @@ -1,7 +1,6 @@ @comment $FreeBSD$ -@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 +@unexec echo "You should stop the dhcpd and dhcpd6 daemons if you are permanently removing this port." 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 |