blob: fd39ac811b843276508d1139364348abcbae79f9 (
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
25
|
#!/bin/sh
#
# $NetBSD: qmail.sh,v 1.1 2002/07/28 01:54:37 schmonz Exp $
#
# PROVIDE: mail
# REQUIRE: LOGIN
. /etc/rc.subr
name="qmail"
rcvar=${name}
required_files="@QMAILDIR@/rc @QMAILDIR@/control/me"
command="@QMAILDIR@/bin/qmail-send"
start_precmd="qmail_precmd"
extra_commands="reload"
qmail_precmd()
{
command="@QMAILDIR@/rc"
command_args="&"
}
load_rc_config $name
run_rc_command "$1"
|