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

Last change on this file since 2438 was 1226, checked in by mitchb, 15 years ago
Merge r1219:1225 from trunk to branches/fc11-dev
  • Property svn:executable set to *
File size: 499 bytes
RevLine 
[1219]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)
[1226]15  exec "/mit/$1/arch/@sys/bin/$1"
[1219]16  ;;
17*)
18  locker=$1
19  program=$2
20  shift 2;
[1226]21  exec "/mit/$locker/arch/@sys/bin/$program" "$@"
[1219]22  ;;
23esac
Note: See TracBrowser for help on using the repository browser.