summaryrefslogtreecommitdiff
path: root/mail/policyd2/files/policyd2.in
blob: ef4359f9ecc2ff7eef80407fed96374a1500948f (plain)
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="%%LOCALBASE%%/bin/perl"

load_rc_config $name

: ${policyd2_enable="NO"}

run_rc_command "$1"