source: trunk/athena/bin/athrun/athrun @ 26017

Revision 26017, 443 bytes checked in by achernya, 12 years ago (diff)
In athrun: * Install compatibility symlinks in attachandrun so it also appears in /bin * Stop using a fully-qualified path to attachandrun in athrun and gathrun
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 attachandrun "$1" "$1" "$1"
15  ;;
16*)
17  locker=$1
18  program=$2
19  shift 2;
20  exec attachandrun "$locker" "$program" "$program" "$@"
21  ;;
22esac
Note: See TracBrowser for help on using the repository browser.