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

12 lines
203 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 " smtpfwdd"
fi
fi
if [ "$1" = "stop" ]; then
killall smtpfwdd
fi