#!/bin/sh
# This files performs the attach's (mounts) required in order to access some
# remote archives
# Seth Finkelstein
# sethf@athena.mit.edu
#
#Old stuff, no longer working
#minas-morgul.endor.cs.psu.edu:/home/minas-morgul/pub.gifs
#slopoke.mlb.semi.harris.com:/pub/anon/pub
#spuds.mlb.semi.harris.com:/stuff/media
#hpserv1.cs.uit.no:/u1
#iris1.ucis.dal.ca:/usr/ftp
#alfred.ccs.carleton.ca:/files3/vol/local
#westmark.stanford.edu

if attach -r -h -n -e wuarchive.wustl.edu:/archive; then :;
else
echo "There was a problem attaching the archive on the above server."
echo "This server may be down or unreachable due to network problems."
fi

if attach -r -h -n -e gatekeeper.dec.com:/archive/.8; then :;
else
echo "There was a problem attaching the archive on the above server."
echo "This server may be down or unreachable due to network problems."
fi

#if attach -r -h -n -m /ferkel -e ftp.tcp.com:/ferkel2; then :;
#else
#echo "There was a problem attaching the archive on the above server."
#echo "This server may be down or unreachable due to network problems."
#fi

## This one sometimes only works on the second or third try - strange
#if attach -r -h -n -e ftp.ulowell.edu:/usr/common; then 
#	if [ \! -d /ftp/usr/common/bitmaps ]; then
#		if attach -r -h -n -e ftp.ulowell.edu:/usr/common; then
#			if [ \! -d /ftp/usr/common/bitmaps ]; then
#				if attach -r -h -n -e ftp.ulowell.edu:/usr/common; then
#					if [ \! -d /ftp/usr/common/bitmaps ]; then
#echo "There was a problem attaching the archive on the above server."
#echo "This server may be down or unreachable due to network problems."
#					fi
#				fi
#			fi
#		fi
#	fi
#else
#echo "There was a problem attaching the archive on the above server."
#echo "This server may be down or unreachable due to network problems."
#fi

exit 0
# westmark is GONE for good
