1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/mail/gld/files/gld.sh.tmpl
Vanilla I. Shu b7911e9087 Add gld 1.2, greylisting daemon for Postfix.
PR:		ports/69089
Submitted by:	Blaz Zupan <blaz@si.FreeBSD.org>
2004-07-16 02:44:16 +00:00

32 lines
394 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: gld
# REQUIRE: LOGIN
# BEFORE: mail
# KEYWORD: FreeBSD shutdown
#
# Add the following lines to /etc/rc.conf to enable amavisd:
#
#gld_enable="YES"
#
. %%RC_SUBR%%
name=gld
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/gld
required_files=%%PREFIX%%/etc/gld.conf
# set defaults
gld_enable=${amavisd_enable:-"NO"}
load_rc_config $name
run_rc_command "$1"