#!/bin/sh
#
# $FreeBSD: ports/security/sshblock/files/sshblock.in,v 1.1 2006/12/03 22:25:18 anders Exp $
#

#
# Add the following lines to /etc/rc.conf to enable sshblock:
# sshblock_enable (bool):	Set to "NO" by default.
#				Set it to "YES" to enable sshblock
# sshblock_flags (string):	Set sshblock flags (optional)
#

. /etc/rc.subr

name="sshblock"
rcvar=`set_rcvar`

command_interpreter=/usr/local/bin/perl
command="/usr/local/sbin/sshblock"

load_rc_config $name
: ${sshblock_enable="NO"}
: ${sshblock_flags=""}

run_rc_command "$1"
