blob: a5b6e3201045ab835417876e392c51f0d4dd3e60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
#
# $NetBSD: tspc.sh,v 1.1 2005/12/28 12:10:44 ghen Exp $
#
# PROVIDE: tspc
# REQUIRE: NETWORKING
$_rc_subr_loaded . /etc/rc.subr
name="tspc"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
command_args="-f @PKG_SYSCONFDIR@/${name}.conf"
start_precmd="chdir"
chdir()
{
cd @VARBASE@/log
}
load_rc_config $name
run_rc_command "$1"
|