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
|
2004-10-07 13:55:26 +00:00
|
|
|
# KEYWORD: nojail
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="routed"
|
2009-09-12 22:19:48 +00:00
|
|
|
desc="network RIP and router discovery routing daemon"
|
|
|
|
rcvar=`set_rcvar`
|
|
|
|
|
|
|
|
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"
|