#!/bin/sh - # # $Id: instenv,v 1.1 2002/07/06 16:41:39 dgregor Exp $ # default_modules="instsshkey instsshconfig instprofile instbin" if [ $# -lt 1 ]; then echo "`basename $0`: invalid number of arguments" >&2 echo "usage: `basename $0` [] ..." >&2 exit 1 fi host="$1"; shift if [ $# -gt 0 ]; then modules="$*" else modules="$default_modules" fi for module in $modules do $module $host done