svn commit: r424670 - in head/dns/openmdns: . files

Jan Beich jbeich at FreeBSD.org
Wed Oct 26 04:33:38 UTC 2016


Author: jbeich
Date: Wed Oct 26 04:33:37 2016
New Revision: 424670
URL: https://svnweb.freebsd.org/changeset/ports/424670

Log:
  dns/openmdns: silence rc.d warning
  
  $ service mdnsd start
  /usr/local/etc/rc.d/mdnsd: WARNING: $mdnsd_enable is not set properly - see rc.conf(5).
  Cannot 'start' mdnsd. Set mdnsd_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.

Modified:
  head/dns/openmdns/Makefile   (contents, props changed)
  head/dns/openmdns/files/mdnsd.in

Modified: head/dns/openmdns/Makefile
==============================================================================
--- head/dns/openmdns/Makefile	Wed Oct 26 04:08:28 2016	(r424669)
+++ head/dns/openmdns/Makefile	Wed Oct 26 04:33:37 2016	(r424670)
@@ -3,7 +3,7 @@
 PORTNAME=	openmdns
 DISTVERSION=	0.6-8
 DISTVERSIONSUFFIX=	-g07cf5c1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns
 
 MAINTAINER=	jbeich at FreeBSD.org

Modified: head/dns/openmdns/files/mdnsd.in
==============================================================================
--- head/dns/openmdns/files/mdnsd.in	Wed Oct 26 04:08:28 2016	(r424669)
+++ head/dns/openmdns/files/mdnsd.in	Wed Oct 26 04:33:37 2016	(r424670)
@@ -16,5 +16,7 @@ command="%%PREFIX%%/sbin/${name}"
 command_args="em0"
 extra_commands="reload"
 
+: ${mdnsd_enable:="NO"}
+
 load_rc_config $name
 run_rc_command "$1"


More information about the svn-ports-head mailing list