summaryrefslogtreecommitdiff
path: root/www/webfs/files/webfsd.in
blob: 21157e414f42880bd7858a1c64674a6c88c279a0 (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
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: webfsd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable webfsd:
#
# webfsd_enable=(bool):	Set it to "YES" to enable webfsd
# 
# and add appropriate webfsd_flags.
#

. /etc/rc.subr

name="webfsd"
rcvar=webfsd_enable

load_rc_config $name

: ${webfsd_enable="NO"}

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

run_rc_command "$1"