#!/bin/sh
#
# $NetBSD: tspc.sh,v 1.2 2011/10/07 22:37:04 shattered Exp $
#

# PROVIDE: tspc
# REQUIRE: NETWORKING

$_rc_subr_loaded . /etc/rc.subr

name="tspc"
rcvar=${name}
command="/usr/pkg/sbin/${name}"
required_files="/usr/pkg/etc/${name}.conf"
command_args="-f /usr/pkg/etc/${name}.conf"
start_precmd="chdir"

chdir()
{
	cd /var/log
}

load_rc_config $name
run_rc_command "$1"
