#!/bin/csh
#
# Make a standard release workstation into a Parallax workstation
#
echo "Removing /vmunix (kernel) and /etc/xterm..."
rm /etc/xterm
rm /vmunix
echo -n "Installing Parallax workstation kernel, X driver, and files..."
cp -rp /mit/visual/install/* /
cp -rp /mit/visual/install/.??* /
rm /INSTALL
ln /vmunix /vmunix.plx
echo "done."
echo -n "Making special devices..."
(cd /dev; MAKEDEV dhu0)
mknod /dev/plx0 c 55 0
mknod /dev/plx1 c 55 1
mv /dev/ttype /dev/ttyv1
mv /dev/ptype /dev/ptyv1
chmod 666 /dev/ttyS? /dev/?tyv?
echo "done."
echo "Edit /etc/ttys to turn off ttyv1 if you do not have a second Parallax monitor."
echo "Type 'reboot' to run the Parallax kernel and driver."
exit 0
# the end
