summaryrefslogtreecommitdiff
path: root/net/smcroute/files/smcrouted.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/smcroute/files/smcrouted.in')
-rw-r--r--net/smcroute/files/smcrouted.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/smcroute/files/smcrouted.in b/net/smcroute/files/smcrouted.in
new file mode 100644
index 000000000000..efac0aabe5a0
--- /dev/null
+++ b/net/smcroute/files/smcrouted.in
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# PROVIDE: smcrouted
+# REQUIRE: netif routing
+# KEYWORD: nojail
+
+#
+# Add the following to /etc/rc.conf[.local] to enable this service
+#
+# smcrouted_enable="YES"
+#
+
+. /etc/rc.subr
+
+name="smcrouted"
+rcvar="${name}_enable"
+command="%%PREFIX%%/sbin/${name}"
+
+load_rc_config $name
+
+: ${smcrouted_enable="NO"}
+: ${smcrouted_flags=""}
+
+run_rc_command "$1"