#!/bin/sh
#
# $FreeBSD: ports/sysutils/webmin/files/webmin.sh.sample,v 1.6 2004/06/19 20:57:32 olgeni Exp $
#
# PROVIDE: webmin
# REQUIRE: LOGIN
# KEYWORD: FreeBSD
#
# Add the following line to /etc/rc.conf to enable webmin:
#
# webmin_enable="YES"
#

webmin_enable="NO"

. /etc/rc.subr

name=webmin
rcvar=`set_rcvar`

prefix=/usr/local
procname=/usr/local/bin/perl
pidfile=/var/log/webmin/miniserv.pid
required_dirs=${prefix}/etc/webmin
command=${prefix}/etc/webmin/start

load_rc_config ${name}
run_rc_command "$1"
