#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin,v 1.1 2006/07/14 15:16:36 hd_brummy Exp $

depend() {
	need vdr
}

start() {
	ebegin "Starting vdradmind"
	start-stop-daemon --start --background --exec /usr/bin/vdradmind.pl
	eend $?
}

stop() {
	ebegin "Stopping vdradmind"
	start-stop-daemon --stop --quiet --pidfile /var/run/vdradmind.pid
	eend $?
}
