#!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 # $Header: $ # Adopted from packaged init.d script for Gentoo # xend Script to start and stop the Xen control daemon. # # Author: Keir Fraser # # chkconfig: 2345 98 01 # description: Starts and stops the Xen control daemon. opts="status" start() { ebegin "Starting Xen Dom0" xend start eend $? } stop() { ebegin "Stopping Xen Dom0" xend stop eend $? } status() { xend status } restart() { ebegin "Restarting Xen Dom0" xend restart eend $? }