aboutsummaryrefslogtreecommitdiff
path: root/mail/policyd2/files/policyd2.sh.in
blob: d68e8bb934c14af61ee12ca880368f89daba0dd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh

# Start or stop policyd2
# $FreeBSD$

# PROVIDE: policyd2
# KEYWORD: shutdown
#
# Define these policyd2_* variables in one of these files:
#       /etc/rc.conf
#       /etc/rc.conf.local
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#

. /etc/rc.subr

name="policyd2"
rcvar=`set_rcvar`

command="%%LOCALBASE%%/bin/cbpolicyd"
procname="/usr/bin/perl"

load_rc_config $name

: ${policyd2_enable="NO"}

run_rc_command "$1"