Use the RCD_SUBR.

This commit is contained in:
Mike M. Volokhov 2003-09-13 17:21:21 +00:00
parent 1f33b0282e
commit 7527859ca9
2 changed files with 5 additions and 5 deletions

View file

@ -1,18 +1,18 @@
#!/bin/sh
#
# $NetBSD: drweb-smf.sh,v 1.1.1.1 2003/09/13 12:58:51 bubuchka Exp $
# $NetBSD: drweb-smf.sh,v 1.2 2003/09/13 17:21:21 bubuchka Exp $
# PROVIDE: drwebsmf
# REQUIRE: DAEMON
# BEFORE: LOGIN
. /etc/rc.subr
. @RCD_SUBR@
name="drwebsmf"
rcvar=$name
command="@PREFIX@/sbin/drweb-smf"
procname="${command}"
start_precmd="drweb_smf_clean"
start_precmd="drwebsmf_clean"
required_files="@PKG_SYSCONFDIR@/drweb-smf.conf"
drweb_smf_clean()

View file

@ -1,12 +1,12 @@
#!@SH@
#
# $NetBSD: drwebd-rcd.src,v 1.1 2003/09/11 15:20:28 bubuchka Exp $
# $NetBSD: drwebd-rcd.src,v 1.2 2003/09/13 17:21:21 bubuchka Exp $
# PROVIDE: drwebd
# REQUIRE: SERVERS
# BEFORE: DAEMON
. /etc/rc.subr
. @RCD_SUBR@
name="drwebd"
rcvar=$name