#!/bin/sh
#
# PROVIDE: mailfromd
# REQUIRE: DAEMON
# BEFORE: mail
# KEYWORD: shutdown
#

. /etc/rc.subr

name="mailfromd"
rcvar=mailfromd_enable

: ${mailfromd_enable="NO"}
: ${mailfromd_flags}
: ${mailfromd_runpath="%%MFD_RUN_DIR%%"}

command="%%PREFIX%%/sbin/${name}"
pidfile="${mailfromd_runpath}/${name}.pid"

load_rc_config ${name}
run_rc_command "$1"
