summaryrefslogtreecommitdiffstats
path: root/net-mgmt/netustad/files/netustad.in
blob: 7d7c768a8b94889129a510034d9f63d9ddc576b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/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"

OpenPOWER on IntegriCloud