28 lines
429 B
Bash
28 lines
429 B
Bash
#!/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"
|