trap "" 2
TZ=GMT0GDT
export TZ
date `/etc/time` >/dev/null

while :
do
	echo "Is the timezone" $TZ "correct? (y or n) \c"
	read reply
	if
		[ "$reply" = y ]
	then
		break
	else
		echo "Enter the correct timezone"
		echo "Where WWW (SSS) denote the winter (summer) timezone 3 letters each"
		echo "nn is a (maybe negative) number giving the distance to GMT"
		echo "(SSSnnWWW): \c"
		read TZ
		echo 'TZ='$TZ '; export TZ' > /etc/TIMEZONE
		export TZ
	fi
done
while :
do
	echo "Is the date `date` correct? (y or n) \c"
	read reply
	if
		[ "$reply" = y ]
	then
		break
	else
		echo "Enter the correct date: (mmddhhmmyy) \c"
		read reply
		date "$reply" >/dev/null
		date +%m%d%H%M%y >/etc/odate
		date +%m%d%H%M%y >/dev/time
	fi
done
set -x
cd /
mklost+found
cd /usr
mklost+found
cd /
set +x
if [ ! -d /dev/sxt ]
then
	echo "making sxt nodes ( takes about 45 seconds )"
	cd /dev
	mkdir sxt
	chmod 755 sxt
	cd sxt
	umask 055
	device=0
	for i in 00 01 02 03 04 05 06 07
	do
		for j in 0 1 2 3 4 5 6 7
		do
			mknod $i$j c 6 $device
			ln $i$j ../sxt$i$j
			device=`expr $device + 1`
		done
	done
fi
cd /
>/etc/install.date
chmod 444 /etc/install.date
umount /dev/dsk/0s3
sync
sync
sync
trap 2
echo 'base set loaded. If anything is okay type:'
echo '	init 2 '
echo The system will go multi-user. You may load any package by
echo inserting the floppy and typing setup.
echo If you had problems start over again.
echo login as: root
echo password: root
