summaryrefslogtreecommitdiff
path: root/net/siproxd/files/siproxd.in
blob: c3f0cd38c733a2e840695a7ea2f83276da98084b (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
27
28
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: siproxd
# REQUIRE: DAEMON

# Define these siproxd_* variables in one of these files:
#	/etc/rc.conf
#	/etc/rc.conf.local
#	/etc/rc.conf.d/siproxd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
# siproxd_enable="YES"
# siproxd_flags	Flags to siproxd program

siproxd_enable=${siproxd_enable:-"NO"}	# Enable siproxd

. /etc/rc.subr

name="siproxd"
rcvar=siproxd_enable
command="%%PREFIX%%/sbin/${name}"

load_rc_config $name

run_rc_command "$1"