/usr/lib/xen-common/bin/xen-toolstack-wrapper is in xen-utils-common 4.4.0-0ubuntu5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh -e
COMMAND="$(basename $0)"
TOOLSTACK=$(. /usr/lib/xen-common/bin/xen-toolstack); RET=$?; [ $RET -eq 0 ] || exit $RET
if [ "$(basename "$TOOLSTACK")" != "$COMMAND" ]; then
echo "ERROR: A different toolstack ($(basename "$TOOLSTACK")) have been selected!" >&2
exit 1
fi
exec "$TOOLSTACK" "$@"
|