#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.6-init.d,v 1.3 2009/01/19 04:48:49 vapier Exp $

depend() {
	use mysql
        use local
        use mythbackend
}

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

stop() {
	ebegin "Stopping MDD"
	start-stop-daemon --stop --exec /usr/bin/mdd.pl
	eend $?
}

