Summary: | net-mgmt/fprobe rc script patch | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | olivier |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
olivier
2012-12-18 13:00:00 UTC
State Changed From-To: open->closed Committed, with minor changes. Thanks! 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" _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |