mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
9aac569eaa
Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
29 lines
444 B
Bash
29 lines
444 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=policyd2_enable
|
|
|
|
command="%%LOCALBASE%%/bin/cbpolicyd"
|
|
command_interpreter="/usr/bin/perl"
|
|
|
|
load_rc_config $name
|
|
|
|
: ${policyd2_enable="NO"}
|
|
|
|
run_rc_command "$1"
|