aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netustad/files/netustad.in
blob: 15a9848f997e037955f4ac7c24c46d0a68ab5b64 (plain) (blame)
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
#!/bin/sh

# 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=netustad_enable

command=%%PREFIX%%/sbin/${name}

load_rc_config $name

: ${netustad="NO"}

run_rc_command "$1"