source: trunk/athena/bin/athrun/athrun.sh @ 22818

Revision 22818, 453 bytes checked in by tabbott, 17 years ago (diff)
In athrun: * Merged quilt patches into mainline Athena tree
Line 
1#!/bin/sh
2# $Id: athrun.sh,v 1.1 2000-03-25 19:05:26 ghudson Exp $
3
4# A user front end to attachandrun.
5# "athrun moira" runs moira from the moira locker.
6# "athrun gnu gls -l" runs gls -l from the gnu locker.
7
8case $# in
90)
10  echo "Usage: athrun locker [program] [args ...]" >&2
11  exit 1
12  ;;
131)
14  exec /bin/attachandrun "$1" "$1" "$1"
15  ;;
16*)
17  locker=$1
18  program=$2
19  shift 2;
20  exec /bin/attachandrun "$locker" "$program" "$program" "$@"
21  ;;
22esac
Note: See TracBrowser for help on using the repository browser.