Changeset 1868


Ignore:
Timestamp:
Jan 17, 2008, 12:36:22 AM (12 years ago)
Author:
bruno
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/tools/updateqemu

    r1682 r1868  
    1515fi
    1616
    17 export PBPROJ=pb
    18 export PBROOT=/users/bruno/pb/svn/0.8.5
     17export PBPROJ=mondorescue
     18export PBROOT=/users/bruno/mondo/svn/branches/2.2.5
    1919
    2020for m in $opt; do
     
    2525    echo "Halting $m"
    2626    echo "/sbin/halt -p" > /tmp/pbscript
    27     pb -m $m -a root -s /tmp/pbscript script2vm
     27    #pb -m $m -a root -s /tmp/pbscript script2vm
    2828    sleep 120
    29     job=`ps auhxww | grep qemu | grep -Ev 'grep|updateqemu' | awk '{print $2}'`
     29    job=`ps auhxww | grep qemu | grep $m | grep -Ev 'grep|updateqemu' | awk '{print $2}'`
    3030    if [ _"$job" != _"" ]; then
    3131        echo "Really halting $m"
    32         kill $job
     32        #kill $job
    3333    fi
    3434done
Note: See TracChangeset for help on using the changeset viewer.