Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2014 19:01:46 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368675 - in head/net/dhcprelay: . files
Message-ID:  <201409201901.s8KJ1kc8060769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep 20 19:01:46 2014
New Revision: 368675
URL: http://svnweb.freebsd.org/changeset/ports/368675
QAT: https://qat.redports.org/buildarchive/r368675/

Log:
  net/dhcprelay: Fix RC script
  
  PR:		192994
  Submitted by:	Denys Razumov
  Approved by:	maintainer timeout (~1 month)

Modified:
  head/net/dhcprelay/Makefile
  head/net/dhcprelay/files/dhcprelay.in

Modified: head/net/dhcprelay/Makefile
==============================================================================
--- head/net/dhcprelay/Makefile	Sat Sep 20 18:26:59 2014	(r368674)
+++ head/net/dhcprelay/Makefile	Sat Sep 20 19:01:46 2014	(r368675)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dhcprelay
 PORTVERSION=	1.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	http://www.mavetju.org/download/
 

Modified: head/net/dhcprelay/files/dhcprelay.in
==============================================================================
--- head/net/dhcprelay/files/dhcprelay.in	Sat Sep 20 18:26:59 2014	(r368674)
+++ head/net/dhcprelay/files/dhcprelay.in	Sat Sep 20 19:01:46 2014	(r368675)
@@ -15,16 +15,15 @@
 . /etc/rc.subr
 
 name=dhcprelay
-rcvar=dhcprelay_enable
+rcvar=${name}_enable
+
+load_rc_config ${name}
+
+: ${dhcprelay_enable="NO"}
+: ${dhcprelay_ifaces=""}
 
 pidfile=/var/run/${name}.pid
 command=%%PREFIX%%/bin/${name}
 command_args="${dhcprelay_ifaces} ${dhcprelay_server}"
 
-# echo $rc_flags
-
-load_rc_config ${name}
-
-dhcprelay_enable=${dhcprelay_enable:-"NO"}
-
 run_rc_command "$1"



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