freebsd-ports/www/webfs/files/webfsd.in
Martin Wilke 8ec24df1c4 - Add backup MASTER_SITES
- 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>
2007-06-18 18:17:55 +00:00

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"