freebsd-ports/net-mgmt/netustad/files/netustad.in
2010-03-27 06:04:41 +00:00

28 lines
444 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: netustad
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# netustad_enable (bool): Set to NO by default.
# Set it to YES to enable netustad.
. /etc/rc.subr
name="netustad"
rcvar=${name}_enable
command=%%PREFIX%%/sbin/${name}
load_rc_config $name
: ${netustad="NO"}
run_rc_command "$1"