2008-12-04 04:42:36 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2008-12-18 04:40:09 +01:00
|
|
|
# Start or stop policyd2
|
2008-12-04 04:42:36 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2008-12-18 04:40:09 +01:00
|
|
|
# PROVIDE: policyd2
|
2008-12-04 04:42:36 +01:00
|
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
2008-12-18 04:40:09 +01:00
|
|
|
# Define these policyd2_* variables in one of these files:
|
2008-12-04 04:42:36 +01:00
|
|
|
# /etc/rc.conf
|
|
|
|
# /etc/rc.conf.local
|
|
|
|
#
|
|
|
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
|
|
|
#
|
|
|
|
|
2010-03-27 01:15:24 +01:00
|
|
|
. /etc/rc.subr
|
2008-12-04 04:42:36 +01:00
|
|
|
|
2008-12-18 04:40:09 +01:00
|
|
|
name="policyd2"
|
2008-12-04 04:42:36 +01:00
|
|
|
rcvar=`set_rcvar`
|
|
|
|
|
|
|
|
command="%%LOCALBASE%%/bin/cbpolicyd"
|
|
|
|
procname="/usr/bin/perl"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
|
2008-12-18 04:40:09 +01:00
|
|
|
: ${policyd2_enable="NO"}
|
2008-12-04 04:42:36 +01:00
|
|
|
|
|
|
|
run_rc_command "$1"
|