#!/bin/sh
#
# $NetBSD: icecast.sh,v 1.4 2004/01/12 05:56:04 xtraeme Exp $
#

# PROVIDE: icecast
# REQUIRE: DAEMON LOGIN

. /etc/rc.subr

name="icecast"
rcvar=$name
command="/usr/pkg/bin/${name}"
command_args="-b -c /usr/pkg/etc/icecast/$name.xml >/dev/null 2>&1"
required_files="/usr/pkg/etc/icecast/$name.xml"

load_rc_config $name
run_rc_command "$1"
