blob: 5c230870c2dfb130c8474779892d9d5e8576bc8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: zhm.sh,v 1.4 2003/07/30 10:53:03 jmmv Exp $
#
# PROVIDE: zhm
# REQUIRE: DAEMON
. /etc/rc.subr
name="zhm"
rcvar="$name"
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/server.list"
start_precmd="zhm_precmd"
zhm_precmd()
{
_flags="`cat @PKG_SYSCONFDIR@/server.list`"
}
load_rc_config "$name"
run_rc_command "$1"
|