#!/bin/sh 
# $Id: do-install.sh,v 1.9 1998/04/13 20:49:14 nathanw Exp $ 
# Top-level install script for NetBSD-Athena 8.0

# Gobs 'o path
PATH=/srvd/usr/athena/bin:/usr/athena/bin:/bin:/sbin:/usr/bin:/usr/sbin
PATH=${PATH}:/hd/bin:/hd/sbin:/hd/usr/sbin
PATH=${PATH}:/os/bin:/os/sbin:/os/usr/bin:/os/usr/sbin
PATH=${PATH}:/hd/bin/athena:/hd/etc/athena:/hd/usr/athena/bin
PATH=${PATH}:/hd/usr/athena/etc:/srvd/bin/athena:/srvd/etc/athena
PATH=${PATH}:/srvd/usr/athena/etc
export PATH
export ENV=
export TERM=pc3
export KRBTKFILE=/tmp/tkt0

exec < /dev/console > /dev/console 2> /dev/console

fail() {
        echo ""
        echo "The installation procedure has failed.  If you wish to restart"
        echo "the installation procedure, type 'exit'."
        echo "If you need help, please contact SIPB at netbsd-help@mit.edu or"
        echo "x3-7788.  To halt and reboot your machine, type 'halt' now."
	exit 1
}

trap fail 2

umask 022
update

echo ""
echo 'MIT SIPB NetBSD-Athena install disk. $Revision: 1.9 $'

/install/setup
/install/connect 
/install/startafs 
/install/continue
