2001-06-16 07:16:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-06-13 22:14:37 +00:00
|
|
|
# $FreeBSD$
|
2001-06-16 07:16:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: routed
|
2003-06-29 05:15:57 +00:00
|
|
|
# REQUIRE: netif routing
|
2016-05-15 05:45:54 +00:00
|
|
|
# BEFORE: NETWORK
|
2004-10-07 13:55:26 +00:00
|
|
|
# KEYWORD: nojail
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="routed"
|
2016-04-23 16:10:54 +00:00
|
|
|
desc="Network RIP and router discovery routing daemon"
|
2012-01-14 02:18:41 +00:00
|
|
|
rcvar="routed_enable"
|
2009-09-12 22:19:48 +00:00
|
|
|
|
|
|
|
set_rcvar_obsolete router_enable routed_enable
|
|
|
|
set_rcvar_obsolete router routed_program
|
|
|
|
set_rcvar_obsolete router_flags routed_flags
|
2002-06-13 22:14:37 +00:00
|
|
|
|
|
|
|
load_rc_config $name
|
2001-06-16 07:16:14 +00:00
|
|
|
run_rc_command "$1"
|