26 lines
376 B
Bash
Executable File
26 lines
376 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $NetBSD: npfd,v 1.2 2020/06/05 17:10:44 christos Exp $
|
|
#
|
|
|
|
# PROVIDE: npfd
|
|
# REQUIRE: npf
|
|
# BEFORE: SERVERS
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
name="npfd"
|
|
rcvar=$name
|
|
start_cmd="npfd_start"
|
|
command="/usr/sbin/${name}"
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
npfd_start()
|
|
{
|
|
echo "Starting npfd..."
|
|
/usr/sbin/${name} $rc_flags
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|