freebsd-ports/net/vls/files/vlsd.sh.in
Kirill Ponomarev 477ca971df Add rcng script
Add ipv6 to categories

PR:		ports/73048
Submitted by:	maintainer
2004-10-26 18:34:40 +00:00

22 lines
292 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: vlsd
# REQUIRE: DAEMON
# BEFORE: LOGIN
. %%RC_SUBR%%
name=vlsd
rcvar=`set_rcvar`
command=%%PREFIX%%/bin/vlsd
required_files=%%PREFIX%%/etc/videolan/vls/vls.cfg
# set default
vlsd_enable=${vlsd_enable:-"NO"}
load_rc_config $name
run_rc_command "$1"