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 15params="${ggated_params}" 16config="${ggated_config:-/etc/gg.exports}" 17required_files="${config}" 18 19command_args="${params} ${config}" 20 21run_rc_command "$1" 22