From owner-svn-ports-all@FreeBSD.ORG Wed Jan 30 16:01:33 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8E663754; Wed, 30 Jan 2013 16:01:33 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6E8303; Wed, 30 Jan 2013 16:01:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0UG1XAM094592; Wed, 30 Jan 2013 16:01:33 GMT (envelope-from jadawin@svn.freebsd.org) Received: (from jadawin@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0UG1XaF094591; Wed, 30 Jan 2013 16:01:33 GMT (envelope-from jadawin@svn.freebsd.org) Message-Id: <201301301601.r0UG1XaF094591@svn.freebsd.org> From: Philippe Audeoud Date: Wed, 30 Jan 2013 16:01:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311223 - head/net-mgmt/fprobe/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 16:01:33 -0000 Author: jadawin Date: Wed Jan 30 16:01:32 2013 New Revision: 311223 URL: http://svnweb.freebsd.org/changeset/ports/311223 Log: - Fix rc script for fprobe_flags PR: ports/174539 Submitted by: Olivier Cochard-Labbe Modified: head/net-mgmt/fprobe/files/fprobe.in (contents, props changed) Modified: head/net-mgmt/fprobe/files/fprobe.in ============================================================================== --- head/net-mgmt/fprobe/files/fprobe.in Wed Jan 30 16:01:28 2013 (r311222) +++ head/net-mgmt/fprobe/files/fprobe.in Wed Jan 30 16:01:32 2013 (r311223) @@ -18,11 +18,12 @@ name="%%NAME%%" rcvar=%%NAME%%_enable -command="%%PREFIX%%/sbin/fprobe" -command_args="-i lo0 127.0.0.1:2055" -pidfile="/var/run/$name.pid" - load_rc_config "$name" + : ${fprobe_enable="NO"} +: ${fprobe_flags:="-i lo0 127.0.0.1:2055"} + +command="%%PREFIX%%/sbin/fprobe" +pidfile="/var/run/$name.pid" run_rc_command "$1"