2b0cb1247a
Rework script dependencies to allow everything made optional to more optional
22 lines
372 B
Bash
Executable File
22 lines
372 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: routed
|
|
# REQUIRE: netif routing
|
|
# KEYWORD: nojail
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="routed"
|
|
rcvar="routed_enable"
|
|
desc="network RIP and router discovery routing daemon"
|
|
|
|
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"
|