xref: /freebsd/libexec/rc/rc.d/ggated (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
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