]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/etc/rc.d/routed
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
[FreeBSD/FreeBSD.git] / 6 / etc / rc.d / routed
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: routed
7 # REQUIRE: netif routing
8 # KEYWORD: nojail
9
10 . /etc/rc.subr
11
12 name="routed"
13
14 # XXX - Executable may be in a different location. The $name variable
15 #       is different from the variable in rc.conf(5) so the
16 #       subroutines in rc.subr won't catch it.
17 #
18 load_rc_config $name
19 rcvar="router_enable"
20 command="${router:-/sbin/${name}}"
21 eval ${name}_flags=\"${router_flags}\"
22 run_rc_command "$1"