mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 14:59:13 -04:00
- Reorganize Makefile - portlint(1) - Use new style of rc.d script - Bump PORTREVISION PR: 93040 Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
25 lines
355 B
Bash
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"
|