#!/bin/sh - ## Prevents migration for a given process ## Copyright (c) 2000, Amnon BARAK (amnon@cs.huji.ac.il). All rights reserved. ## ## Permission to use, copy and distribute this software is hereby granted ## under the terms of version 2 or any later version of the GNU General Public ## License, as published by the Free Software Foundation. ## ## THIS SOFTWARE IS PROVIDED IN ITS "AS IS" CONDITION, WITH NO WARRANTY ## WHATSOEVER. NO LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING ## FROM THE USE OF THIS SOFTWARE WILL BE ACCEPTED. ## # Author(s): Amnon Shiloh, Ariel Rosenblatt, Moshe Bar case "$1" in -z) zflg=-z shift case $# in 1) echo "`basename $0`: '-z' requires an argument." exit 1 ;; esac esac case $#,"$1" in *,-*|0,*) echo "Usage: `basename $0` [-z] command [ arg ... ]" exit 1 ;; esac exec @mosrundir@/mosrun -L $zflg $*