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/files/xendomains-init
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/files/xendomains-init')
-rw-r--r--app-emulation/xen/files/xendomains-init10
1 files changed, 5 insertions, 5 deletions
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
}