Date: Wed, 30 Jan 2013 16:01:33 +0000 (UTC) From: Philippe Audeoud <jadawin@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311223 - head/net-mgmt/fprobe/files Message-ID: <201301301601.r0UG1XaF094591@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <olivier@cochard.me> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301301601.r0UG1XaF094591>