pkgsrc/net/gated/files/gated
tron f73c35c2e5 The "gated" script must be run early during system startup because it is
part of the network initialization. Use similar dependences as the
(corrected) "route6d" script. Bump package revision because of this fix.

This should fix PR pkg/36203.
2007-04-24 12:06:18 +00:00

19 lines
324 B
Bash

#!/bin/sh
#
# $NetBSD: gated,v 1.3 2007/04/24 12:06:18 tron Exp $
#
# PROVIDE: gated
# REQUIRE: network mountcritlocal
# BEFORE: NETWORKING
. /etc/rc.subr
name="gated"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/${name}.conf"
load_rc_config $name
run_rc_command "$1"