aboutsummaryrefslogtreecommitdiffstats
path: root/net/sflowtool/files/sflowtool.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/sflowtool/files/sflowtool.in')
-rw-r--r--net/sflowtool/files/sflowtool.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sflowtool/files/sflowtool.in b/net/sflowtool/files/sflowtool.in
index 0f83f2f43329..d4656a14eafd 100644
--- a/net/sflowtool/files/sflowtool.in
+++ b/net/sflowtool/files/sflowtool.in
@@ -3,6 +3,10 @@
# PROVIDE: sflowtool
# REQUIRE: DAEMON
+# Add the following line to /etc/rc.conf to enable sflowtool:
+# sflowtool_enable="YES"
+# sflowtool_flags="<set as needed>"
+
. %%RC_SUBR%%
name="sflowtool"
@@ -12,7 +16,6 @@ command="%%PREFIX%%/bin/sflowtool"
load_rc_config $name
# Set defaults
: ${sflowtool_enable="NO"}
-: ${sflowtool_flags=""}
: ${sflowtool_pidfile="/var/run/${name}.pid"}
start_cmd="/usr/sbin/daemon -f -p ${sflowtool_pidfile} ${command} ${sflowtool_flags}"