aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/routed
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/routed')
-rwxr-xr-xlibexec/rc/rc.d/routed23
1 files changed, 23 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/routed b/libexec/rc/rc.d/routed
new file mode 100755
index 000000000000..9338cf034edd
--- /dev/null
+++ b/libexec/rc/rc.d/routed
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+#
+
+# PROVIDE: routed dynamicrouting
+# REQUIRE: netif routing
+# BEFORE: NETWORKING
+# KEYWORD: nojailvnet
+
+. /etc/rc.subr
+
+name="routed"
+desc="Network RIP and router discovery routing daemon"
+rcvar="routed_enable"
+
+: ${routed_svcj_options:="net_basic"}
+
+set_rcvar_obsolete router_enable routed_enable
+set_rcvar_obsolete router routed_program
+set_rcvar_obsolete router_flags routed_flags
+
+load_rc_config $name
+run_rc_command "$1"