From e5e6487434721f5bf08121cf414233e175a4950d Mon Sep 17 00:00:00 2001 From: mario Date: Sat, 6 Nov 2010 14:04:38 -0500 Subject: system/xen: Minor adjustments including updated dom0 scripts. Signed-off-by: Erik Hanson --- system/xen/README.SLACKWARE | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system/xen/README.SLACKWARE') diff --git a/system/xen/README.SLACKWARE b/system/xen/README.SLACKWARE index a9bea1dd8cea..2335ee4a88f7 100644 --- a/system/xen/README.SLACKWARE +++ b/system/xen/README.SLACKWARE @@ -5,22 +5,26 @@ The rc.xend service must be started before Xen can be used. You may wish to add these lines to /etc/rc.d/rc.local to start this service after booting from your xen kernel. - if [[ $(uname -r) = *xen ]]; then + if [ -d /proc/xen ]; then if [ -x /etc/rc.d/rc.xend ]; then + echo "Starting XEN daemon: /etc/rc.d/rc.xend" /etc/rc.d/rc.xend start fi if [ -x /etc/rc.d/rc.xendomains ]; then + echo "Starting XEN domains: /etc/rc.d/rc.xendomains" /etc/rc.d/rc.xendomains start fi fi You may also add these lines to /etc/rc.d/rc.local_shutdown - if [[ $(uname -r) = *xen ]]; then + if [ -d /proc/xen ]; then if [ -x /etc/rc.d/rc.xendomains ]; then + echo "Stopping XEN domains: /etc/rc.d/rc.xendomains" /etc/rc.d/rc.xendomains stop fi if [ -x /etc/rc.d/rc.xend ]; then + echo "Stopping XEN daemon: /etc/rc.d/rc.xend" /etc/rc.d/rc.xend stop fi fi -- cgit v1.2.3