summaryrefslogtreecommitdiffstats
path: root/system/xen/README.SLACKWARE
diff options
context:
space:
mode:
author mario <mario@slackverse.org>2010-11-06 14:04:38 -0500
committer Heinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:43:18 +0100
commite5e6487434721f5bf08121cf414233e175a4950d (patch)
tree959fdbe7051beed8fd38d7157ddbe1214291877d /system/xen/README.SLACKWARE
parent74d59cde0daa1c23d19f04fb0773ad9e57d718b1 (diff)
downloadslackbuilds-e5e6487434721f5bf08121cf414233e175a4950d.tar.gz
slackbuilds-e5e6487434721f5bf08121cf414233e175a4950d.tar.xz
system/xen: Minor adjustments including updated dom0 scripts.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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