make sipb-xen-remote-proxy a bit less obscure
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-remote-proxy
1 #!/bin/sh
2 # invoke as sipb-xen-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
3 klist -s || kinit -k host/remote.mit.edu
4 TYPE="${0##*-}"
5 SERVICE="$1"
6 #echo remctl black-mesa remote "$TYPE" "$@"
7 case "$SERVICE" in
8     listvms ) shift; sipb-xen-remote-listvms "$@" ;;
9     *       ) remctl black-mesa remote "$TYPE" "$@" ;;
10 esac