aboutsummaryrefslogtreecommitdiffstats
path: root/net/socat
diff options
context:
space:
mode:
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/files/socat.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/socat/files/socat.in b/net/socat/files/socat.in
index b3cd35c02e10..55694ca0bf06 100644
--- a/net/socat/files/socat.in
+++ b/net/socat/files/socat.in
@@ -9,6 +9,10 @@
# REQUIRE: LOGIN
# KEYWORD: shutdown
+# Add the following lines to /etc/rc.conf to enable socat:
+# socat_enable="YES"
+# socat_flags="<set as needed>"
+
. %%RC_SUBR%%
name="socat"
@@ -20,6 +24,5 @@ command_args="&"
load_rc_config $name
: ${socat_enable="NO"}
-: ${socat_flags=""}
run_rc_command "$1"