]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/routed
This commit was generated by cvs2svn to compensate for changes in r171829,
[FreeBSD/FreeBSD.git] / etc / rc.d / routed
1 #!/bin/sh
2 #
3 # $NetBSD: routed,v 1.7 2002/03/22 04:34:00 thorpej Exp $
4 # $FreeBSD$
5 #
6
7 # PROVIDE: routed
8 # REQUIRE: netif routing
9 # KEYWORD: nojail
10
11 . /etc/rc.subr
12
13 name="routed"
14
15 # XXX - Executable may be in a different location. The $name variable
16 #       is different from the variable in rc.conf(5) so the
17 #       subroutines in rc.subr won't catch it.
18 #
19 load_rc_config $name
20 rcvar="router_enable"
21 command="${router:-/sbin/${name}}"
22 eval ${name}_flags=\"${router_flags}\"
23 run_rc_command "$1"