[Pkg-xen-changes] r398 - in trunk/xen-common/debian: . patches
Guido Trotter
ultrotter at alioth.debian.org
Wed May 23 12:56:35 UTC 2007
Author: ultrotter
Date: Wed May 23 12:56:35 2007
New Revision: 398
Log:
Wops! Fix the real init.d file
But leave the example fixed too
Modified:
trunk/xen-common/debian/patches/xendomains.dpatch
trunk/xen-common/debian/xen-utils-common.xendomains.init
Modified: trunk/xen-common/debian/patches/xendomains.dpatch
==============================================================================
--- trunk/xen-common/debian/patches/xendomains.dpatch (original)
+++ trunk/xen-common/debian/patches/xendomains.dpatch Wed May 23 12:56:35 2007
@@ -16,7 +16,7 @@
+ name=`echo $1 | cut -d\ -f1 `
name=${name%% *}
- rest=`echo "$1" | cut -c18- `
-+ rest=`echo $1 | cut -d\ -f2 `
++ rest=`echo $1 | cut -d\ -f2-`
read id mem cpu vcpu state tm < <(echo "$rest")
}
Modified: trunk/xen-common/debian/xen-utils-common.xendomains.init
==============================================================================
--- trunk/xen-common/debian/xen-utils-common.xendomains.init (original)
+++ trunk/xen-common/debian/xen-utils-common.xendomains.init Wed May 23 12:56:35 2007
@@ -128,9 +128,9 @@
parseln()
{
- name=`echo "$1" | cut -c0-17`
+ name=`echo $1 | cut -d\ -f1`
name=${name%% *}
- rest=`echo "$1" | cut -c18- `
+ rest=`echo $1 | cut -d\ -f2-`
read id mem cpu vcpu state tm < <(echo "$rest")
}
More information about the Pkg-xen-changes
mailing list