xref: /freebsd/libexec/rc/rc.d/ggated (revision 0f996f45418e82dae151e5d1da478da38d70049f)
1#!/bin/sh
2
3# PROVIDE: ggated
4# REQUIRE: NETWORKING
5
6. /etc/rc.subr
7
8name="ggated"
9desc="GEOM Gate network daemon"
10rcvar="ggated_enable"
11command="/sbin/${name}"
12pidfile="/var/run/${name}.pid"
13
14load_rc_config $name
15required_files="${ggated_config}"
16
17# XXX?: doesn't make sense to run in a svcj: low-level access
18ggated_svcj="NO"
19
20command_args="${ggated_config}"
21
22run_rc_command "$1"
23