| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. -e |
| 2 | |
| 3 | VERSION=$(. /usr/lib/xen-common/bin/xen-versionscip-shell source . . `/usr/lib/xen-common/bin/xen-version`.); RET=$?; [scip-shell system . . `[`. $RET -eq 0 ] || exit $RET |
| 4 | |
| 5 | if [scip-shell system . . `[`. -d "/usr/lib/xen-$VERSION" ]; then |
| 6 | echoscip-shell system . . echo. "/usr/lib/xen-$VERSION" |
| 7 | else |
| 8 | echoscip-shell system . . echo. "ERROR: Can't find version $VERSION of xen utils (maybe xen-utils-$VERSION was already removed before rebooting out of Xen $VERSION), bailing out!" >&2 |
| 9 | exit 127 |
| 10 | fi |