#!/bin/sh
#
# $NetBSD: fwknopd.sh,v 1.2 2021/11/07 18:37:03 khorben Exp $
#
# Startup script for fwknopd
#
# PROVIDE: fwknopd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# You will need to set some variables in /etc/rc.conf to start fwknopd:
#
# fwknopd=YES
#
# Optionally, "fwknopd_flags" contains additional parameters for the service.
# See fwknopd(8) for possible options.

$_rc_subr_loaded . /etc/rc.subr

name="fwknopd"
rcvar=${name}
command="/usr/pkg/bin/${name}"
required_files="/usr/pkg/etc/fwknop/fwknopd.conf"
fwknopd_flags=

load_rc_config $name
run_rc_command "$1"
