routed revision 1.4
1#!/bin/sh
2#
3# $NetBSD: routed,v 1.4 2000/05/13 08:45:09 lukem Exp $
4#
5
6# PROVIDE: routed
7# REQUIRE: DAEMON gated
8
9. /etc/rc.subr
10
11name="routed"
12command="/sbin/${name}"
13start_precmd="routed_precmd"
14
15routed_precmd()
16{
17	if checkyesno gated && checkyesno routed; then
18		warn "gated and routed both requested to be run: only running gated."
19		return 1
20	fi
21}
22
23load_rc_config $name
24run_rc_command "$1"
25