aboutsummaryrefslogtreecommitdiffstats
path: root/net/relayd/files/relayd.in
blob: c272c45be3071f63e837a316fd765e63bf945889 (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
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: relayd
# REQUIRE: LOGIN
# KEYWORD: shutdown

# Add the following lines to /etc/rc.conf to enable relayd:
# relayd_enable="YES"
# relayd_flags="<set as needed>"

. %%RC_SUBR%%

name=relayd
rcvar=${name}_enable

load_rc_config $name

: ${relayd_enable="NO"}

command="%%PREFIX%%/sbin/relayd"

run_rc_command "$1"