#!/bin/sh # # $FreeBSD: head/www/webfs/files/webfsd.in 340872 2014-01-24 00:14:07Z mat $ # # 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"