source: branches/fc11-dev/server/common/oursrc/athrun/athrun.sh @ 1226

Last change on this file since 1226 was 1226, checked in by mitchb, 13 years ago
Merge r1219:1225 from trunk to branches/fc11-dev
  • Property svn:executable set to *
File size: 499 bytes
Line 
1#!/bin/sh
2
3# An analog of the Athena athrun utility for scripts.mit.edu.
4# The Athena athrun was written by Greg Hudson.
5# This version was kludged by Mitchell Berger.
6# "athrun moira" runs moira from the moira locker.
7# "athrun gnu gls -l" runs gls -l from the gnu locker.
8
9case $# in
100)
11  echo "Usage: athrun locker [program] [args ...]" >&2
12  exit 1
13  ;;
141)
15  exec "/mit/$1/arch/@sys/bin/$1"
16  ;;
17*)
18  locker=$1
19  program=$2
20  shift 2;
21  exec "/mit/$locker/arch/@sys/bin/$program" "$@"
22  ;;
23esac
Note: See TracBrowser for help on using the repository browser.