aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/fprobe
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2013-01-30 16:01:32 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2013-01-30 16:01:32 +0000
commitcccc9fbc3e506bbe6850df20f623603b4b0b2aa9 (patch)
tree5bc731092d5572c9a3e3c0d89502af6783e178fc /net-mgmt/fprobe
parentc9eec2013e9589c146b1a7f3d1875dc2a2103d4b (diff)
downloadports-cccc9fbc3e506bbe6850df20f623603b4b0b2aa9.tar.gz
ports-cccc9fbc3e506bbe6850df20f623603b4b0b2aa9.zip
Notes
Diffstat (limited to 'net-mgmt/fprobe')
-rw-r--r--net-mgmt/fprobe/files/fprobe.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-mgmt/fprobe/files/fprobe.in b/net-mgmt/fprobe/files/fprobe.in
index b2cff48f2b11..f791fd19639f 100644
--- a/net-mgmt/fprobe/files/fprobe.in
+++ b/net-mgmt/fprobe/files/fprobe.in
@@ -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"