source: trunk/packages/sipb-xen-dom0/files/usr/sbin/qemu-dm-sipb @ 837

Last change on this file since 837 was 492, checked in by andersk, 17 years ago

Don't rely on exported $ROOT.

  • Property svn:executable set to *
File size: 359 bytes
Line 
1#!/bin/sh
2domid=
3for i; do
4    if [ "$domid" = "_NEXT_" ]; then
5        domid=$i
6        break
7    elif [ "$i" = "-d" ]; then
8        domid=_NEXT_
9    fi
10done
11export domid
12echo 'BEGIN qemu-dm-sipb LOG' >> /tmp/log
13echo "$0 $@" >> /tmp/log
14env >> /tmp/log
15echo 'END qemu-dm-sipb LOG' >> /tmp/log
16exec "/usr/lib/xen-$(/usr/lib/xen-common/bin/xen-utils-version -q)/bin/qemu-dm" "$@"
Note: See TracBrowser for help on using the repository browser.