mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 00:39:15 -04:00
We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts.
30 lines
459 B
Bash
30 lines
459 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: smtptrapd
|
|
# REQUIRE: LOGIN
|
|
# BEFORE: mail
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable smtptrapd:
|
|
#
|
|
#smtptrapd_enable="YES"
|
|
#
|
|
# Run smtptrapd -h for flags
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=smtptrapd
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/bin/smtptrapd
|
|
|
|
smtptrapd_enable=${smtptrapd_enable:-"NO"}
|
|
smtptrapd_flags=${smtptrapd_flags:-"-c /var/run/smtptrapd-root"}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|