
trap "" 2
TZ=PST8PDT
export TZ
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 (format mmddhhmmyy):  \c"
		read reply
		date "$reply"
	fi
done
usr=7
if [ -r /dev/dsk/0s10 ]
then
	usr=11
fi
set -x
cd /
mklost+found
cd /usr
mklost+found
cd /
rm -f /bin/setup.2 /etc/kmount /etc/kumount /olddiskdata
umount /dev/dsk/0s$usr
if [ -r /dev/dsk/0s10 ]
then	
	umount /dev/dsk/0s14
fi
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
sync
sync
sync
trap 2
echo base set loaded, going multi-user. You may load any package by
echo inserting the floppy and typing setup.
telinit 2
