ia64/xen-unstable

changeset 1775:ad09d919356e

bitkeeper revision 1.1071.1.6 (40f4dc820j_moO3D2AEja33QFn9N7A)

Tiny fixes to allow gentoo distro to work in dom0.
author iap10@labyrinth.cl.cam.ac.uk
date Wed Jul 14 07:10:58 2004 +0000 (2004-07-14)
parents 131c48baa117
children c2f673cea5e4 f0091709a4d9
files tools/examples/init.d/xend tools/python/xen/xend/XendRoot.py
line diff
     1.1 --- a/tools/examples/init.d/xend	Tue Jul 13 17:24:48 2004 +0000
     1.2 +++ b/tools/examples/init.d/xend	Wed Jul 14 07:10:58 2004 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  # chkconfig: 2345 99 00
     1.5  # description: Starts and stops the Xen control daemon.
     1.6  
     1.7 -. /etc/init.d/functions
     1.8 +. /etc/init.d/functions || . /etc/init.d/functions.sh
     1.9  
    1.10  case "$1" in
    1.11    start)
     2.1 --- a/tools/python/xen/xend/XendRoot.py	Tue Jul 13 17:24:48 2004 +0000
     2.2 +++ b/tools/python/xen/xend/XendRoot.py	Wed Jul 14 07:10:58 2004 +0000
     2.3 @@ -17,7 +17,7 @@ import sxp
     2.4  def reboots():
     2.5      """Get a list of system reboots from wtmp.
     2.6      """
     2.7 -    out = os.popen('/usr/bin/last reboot', 'r')
     2.8 +    out = os.popen('last reboot', 'r')
     2.9      list = [ x.strip() for x in out if x.startswith('reboot') ]
    2.10      return list
    2.11