Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2018 15:39:44 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461710 - in head/net/isc-dhcp43-server: . files
Message-ID:  <201802131539.w1DFdilp035303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Tue Feb 13 15:39:44 2018
New Revision: 461710
URL: https://svnweb.freebsd.org/changeset/ports/461710

Log:
  - Fix rc script when using service -R
  
  PR:		225861
  Submitted by:	Ari Suutari

Modified:
  head/net/isc-dhcp43-server/Makefile
  head/net/isc-dhcp43-server/files/isc-dhcpd.in

Modified: head/net/isc-dhcp43-server/Makefile
==============================================================================
--- head/net/isc-dhcp43-server/Makefile	Tue Feb 13 15:01:42 2018	(r461709)
+++ head/net/isc-dhcp43-server/Makefile	Tue Feb 13 15:39:44 2018	(r461710)
@@ -18,7 +18,7 @@ LICENSE=	ISCL
 
 USES=		gmake
 
-PORTREVISION_SERVER=	2
+PORTREVISION_SERVER=	3
 PORTREVISION_CLIENT=	0
 PORTREVISION_RELAY=	0
 

Modified: head/net/isc-dhcp43-server/files/isc-dhcpd.in
==============================================================================
--- head/net/isc-dhcp43-server/files/isc-dhcpd.in	Tue Feb 13 15:01:42 2018	(r461709)
+++ head/net/isc-dhcp43-server/files/isc-dhcpd.in	Tue Feb 13 15:39:44 2018	(r461710)
@@ -20,7 +20,7 @@
 name="$file" ;
 
 case $0 in
-/etc/rc*)
+/etc/rc*|/usr/sbin/service)
 	# during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown),
 	# so get the name of the script from $_file
 	name=$_file



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802131539.w1DFdilp035303>