aboutsummaryrefslogtreecommitdiff
path: root/mail/policyd2/files/policyd2.sh.in
blob: a5443c618452e0f54344065c4ca480cbdae97416 (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=policyd2_enable

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

load_rc_config $name

: ${policyd2_enable="NO"}

run_rc_command "$1"