depend on grub-pc instead of grub
[invirt/packages/invirt-xen-config.git] / qemu-dm-invirt
1 #!/bin/sh
2 domid=
3 for i; do
4     if [ "$domid" = "_NEXT_" ]; then
5         domid=$i
6         break
7     elif [ "$i" = "-d" ]; then
8         domid=_NEXT_
9     fi
10 done
11 export domid
12 exec "/usr/lib/xen/bin/qemu-dm" "$@"