diff options
Diffstat (limited to 'net/vls/files/vlsd.sh.in')
-rw-r--r-- | net/vls/files/vlsd.sh.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/vls/files/vlsd.sh.in b/net/vls/files/vlsd.sh.in new file mode 100644 index 000000000000..3145fd090c5a --- /dev/null +++ b/net/vls/files/vlsd.sh.in @@ -0,0 +1,22 @@ +#!/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" |