mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
b7911e9087
PR: ports/69089 Submitted by: Blaz Zupan <blaz@si.FreeBSD.org>
32 lines
394 B
Bash
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"
|