#!/bin/sh
#
# $NetBSD: openct.sh,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $
#

# PROVIDE: openct
# REQUIRE: DAEMON
# KEYWORD: shutdown

. /etc/rc.subr

name="openct"
rcvar=$name
command="/usr/pkg/sbin/openct-control"
required_files="/usr/pkg/etc/openct.conf"

start_cmd="${command} init"
stop_cmd="${command} shutdown"
status_cmd="${command} status"

load_rc_config $name
run_rc_command $1
