ports/mail/smtpd/files/smtpd.in
Marcus Alves Grando a5ac0d507f - Turn patch fetchable again
- Reorganize Makefile
- portlint(1)
- Use new style of rc.d script
- Bump PORTREVISION

PR:		93040
Submitted by:	Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
2006-02-19 23:07:01 +00:00

25 lines
355 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: smtpd
# REQUIRE: DAEMON
#
# Add the following lines to /etc/rc.conf to run smtpd:
#
# smtpd_enable (bool): Set it to "YES" to enable smtpd.
# Default is "NO".
#
. %%RC_SUBR%%
name="smtpd"
rcvar=${name}_enable
command=%%PREFIX%%/sbin/smtpfwdd
load_rc_config ${name}
: ${smtpd_enable="NO"}
run_rc_command "$1"