blob: 9cd9bfd4cb0f53c13126bb0a377dc3519df4efcf (
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.
#
. %%RC_SUBR%%
name="webfsd"
rcvar=`set_rcvar`
load_rc_config $name
: ${webfsd_enable="NO"}
command=%%PREFIX%%/sbin/${name}
run_rc_command "$1"
|