1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/mail/smtpd/files/smtpd.sh

12 lines
206 B
Bash
Raw Normal View History

#! /bin/sh
if [ $# -eq 0 -o "$1" = "start" ]; then
if [ -x !!PREFIX!!/sbin/smtpfwdd ] ; then
!!PREFIX!!/sbin/smtpfwdd
echo -n " smtpfwdd"
fi
fi
if [ "$1" = "stop" ]; then
killall smtpfwdd
fi