summaryrefslogtreecommitdiff
path: root/system/xen/README.SLACKWARE
diff options
context:
space:
mode:
Diffstat (limited to 'system/xen/README.SLACKWARE')
-rw-r--r--system/xen/README.SLACKWARE8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/xen/README.SLACKWARE b/system/xen/README.SLACKWARE
index a9bea1dd8c..2335ee4a88 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