routed revision 136224
1#!/bin/sh 2# 3# $NetBSD: routed,v 1.7 2002/03/22 04:34:00 thorpej Exp $ 4# $FreeBSD: head/etc/rc.d/routed 136224 2004-10-07 13:55:26Z mtm $ 5# 6 7# PROVIDE: routed 8# REQUIRE: netif routing 9# KEYWORD: nojail 10 11. /etc/rc.subr 12 13name="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# 19load_rc_config $name 20rcvar="router_enable" 21command="${router:-/sbin/${name}}" 22eval ${name}_flags=\"${router_flags}\" 23run_rc_command "$1" 24