8ec24df1c4
- Move content of pkg-plist to PLIST_FILES - Add a rc_ng start script - Pass maintainership to submitter PR: 113784 Submitted by: Lars Engels <lars.engels@0x20.net>
27 lines
392 B
Bash
27 lines
392 B
Bash
#!/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"
|