summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Bainbridge <chrb@gentoo.org>2005-09-20 08:57:06 +0000
committerChris Bainbridge <chrb@gentoo.org>2005-09-20 08:57:06 +0000
commit142222aafa9bc031af630f0e718e7d9e59a5370c (patch)
tree855f78e478e9be33b677c47952a828efea01ca26 /app-emulation/xen
parentRemove kadmos flag for kooka. (diff)
downloadhistorical-142222aafa9bc031af630f0e718e7d9e59a5370c.tar.gz
historical-142222aafa9bc031af630f0e718e7d9e59a5370c.tar.bz2
historical-142222aafa9bc031af630f0e718e7d9e59a5370c.zip
Change init scripts to absolute paths.
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'app-emulation/xen')
-rw-r--r--app-emulation/xen/ChangeLog6
-rw-r--r--app-emulation/xen/Manifest6
-rw-r--r--app-emulation/xen/files/xend-init14
-rw-r--r--app-emulation/xen/files/xendomains-init10
4 files changed, 20 insertions, 16 deletions
diff --git a/app-emulation/xen/ChangeLog b/app-emulation/xen/ChangeLog
index 66a51c4b29d4..accd6636370d 100644
--- a/app-emulation/xen/ChangeLog
+++ b/app-emulation/xen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/xen
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.2 2005/09/19 16:45:42 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/ChangeLog,v 1.3 2005/09/20 08:57:06 chrb Exp $
+
+ 20 Sep 2005; Chris Bainbridge <chrb@gentoo.org> files/xend-init,
+ files/xendomains-init:
+ Change init scripts to absolute paths.
*xen-3.0.0_pre20050919 (19 Sep 2005)
diff --git a/app-emulation/xen/Manifest b/app-emulation/xen/Manifest
index 30f04d1c107c..9d81d9d9cf64 100644
--- a/app-emulation/xen/Manifest
+++ b/app-emulation/xen/Manifest
@@ -1,12 +1,12 @@
-MD5 ba5fa3317509eeb469019da0a74c06e6 ChangeLog 674
+MD5 9f11061403afdd66c0c5052b6e1f232f ChangeLog 808
MD5 23ec60d5040f966fda250a47d8903428 metadata.xml 252
MD5 127f02804f9b2029eff0f18830d17661 xen-2.0.7.ebuild 2696
MD5 6bdec80c76754e7f3a07642ac527bcd0 xen-3.0.0_pre20050906.ebuild 2608
MD5 837501dd56f3c0ffb462217c550f74e2 xen-3.0.0_pre20050919.ebuild 2618
MD5 16d372298e94a8eef72c1943b1ed5561 files/xend-conf 347
-MD5 8fdc16ee0ddc5db42c85e4a3b7484135 files/xend-init 746
+MD5 4138fb645ecbd7a003e1bdb284c1b4ca files/xend-init 806
MD5 9f441f0eaec0c4a04af82df233dadbe0 files/xendomains-conf 22
-MD5 5caa93c9ec5394b7ae89a3bb0c038d6b files/xendomains-init 1221
+MD5 d3326889a8fa0fe52d6f32f1f417fb8d files/xendomains-init 1261
MD5 1d06bd45f1c44612f4ab57e8d7c303ac files/digest-xen-3.0.0_pre20050906 75
MD5 7dc7b60a7e88657c9141d4154e41458c files/digest-xen-3.0.0_pre20050919 75
MD5 6eaea330ed78459069eb5ba608e654dd files/digest-xen-2.0.7 63
diff --git a/app-emulation/xen/files/xend-init b/app-emulation/xen/files/xend-init
index 350672ba9021..118df2d0ab9b 100644
--- a/app-emulation/xen/files/xend-init
+++ b/app-emulation/xen/files/xend-init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/files/xend-init,v 1.1 2005/09/07 18:18:59 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/files/xend-init,v 1.2 2005/09/20 08:57:06 chrb Exp $
opts="start stop status restart"
@@ -13,30 +13,30 @@ depend() {
await_daemons_up() {
for ((i=0; i<5; i++)); do
sleep 1
- xend status && return 0
+ /usr/sbin/xend status && return 0
done
return 1
}
start() {
ebegin "Starting Xen control daemon"
- xend start
- xend status || await_daemons_up
+ /usr/sbin/xend start
+ /usr/sbin/xend status || await_daemons_up
eend $?
}
stop() {
if [ "$(xm list | wc -l)" -gt 2 ]; then
ebegin " Stopping all domain"
- xm shutdown --all --halt --wait >/dev/null
+ /usr/sbin/xm shutdown --all --halt --wait >/dev/null
eend $?
fi
ebegin "Stopping Xen control daemon"
- xend stop
+ /usr/sbin/xend stop
eend $?
}
status() {
- xend status
+ /usr/sbin/xend status
}
diff --git a/app-emulation/xen/files/xendomains-init b/app-emulation/xen/files/xendomains-init
index b525884e1562..f9bdeb3474ad 100644
--- a/app-emulation/xen/files/xendomains-init
+++ b/app-emulation/xen/files/xendomains-init
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/files/xendomains-init,v 1.1 2005/09/07 18:18:59 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/files/xendomains-init,v 1.2 2005/09/20 08:57:06 chrb Exp $
opts="start stop status restart"
@@ -14,7 +14,7 @@ get_domname() {
}
is_running() {
- [ -n "`xm list | grep "^${1} "`" ]
+ [ -n "`/usr/sbin/xm list | grep "^${1} "`" ]
}
start() {
@@ -24,7 +24,7 @@ start() {
name=$(get_domname ${dom})
if ! is_running ${name} ; then
ebegin " Starting domain ${name}"
- xm create --quiet --defconfig ${dom}
+ /usr/sbin/xm create --quiet --defconfig ${dom}
eend $?
else
einfo " Not Starting domain ${name} - allready running"
@@ -39,7 +39,7 @@ stop() {
name=$(get_domname ${dom})
if is_running ${name} ; then
ebegin " Stopping domain ${name}"
- xm shutdown --halt --wait ${name} >/dev/null
+ /usr/sbin/xm shutdown --halt --wait ${name} >/dev/null
eend $?
else
einfo " Not Stopping domain ${name} - not running"
@@ -48,5 +48,5 @@ stop() {
}
status() {
- xm list
+ /usr/sbin/xm list
}