DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦cf14e2e79⟧ TextFile

    Length: 4063 (0xfdf)
    Types: TextFile
    Notes: UNIX file
    Names: »setup«

Derivation

└─⟦266a37dfb⟧ Bits:30004068/disk3.imd Interactive TCP/IP v.1.2
└─⟦266a37dfb⟧ UNIX Filesystem
    └─⟦this⟧ »hb/install/setup« 

TextFile

#
#       Setup script for INTERACTIVE UNIX TCP/IP Networking Package.
#	@(#)setup	2.7.1.2 - 90/02/02
#

VER=`uname -r`
if [ "$VER" != "3.2" ]
then
	message "This package can only be installed on a INTERACTIVE UNIX Release 2.0 System. Your system has a different UNIX release installed. You can determine the release by typing 'uname -r'. The installation is now being terminated."
	exit 1
fi

cd /etc/conf/kconfig.d

if fgrep "386/ix Host Based TCP/IP" description > /dev/null 2>&1
then :
	cat <<-\! | ed -s /etc/conf/kconfig.d/description
1,$g/hbtcp/d
w
q
!
fi

if fgrep "INTERACTIVE UNIX Host Based TCP/IP" description >/dev/null 2>&1
then :
	echo INTERACTIVE UNIX Host Based TCP/IP already in description file.
else
	cat <<-\! | ed -s /etc/conf/kconfig.d/description
$a
-       -    -     hbtcp    -             INTERACTIVE UNIX Host Based TCP/IP
lo      -    -     hbtcp    -             HBTCP
arp     -    -     hbtcp    -             HBTCP
ip      -    -     hbtcp    -             HBTCP
in      -    -     hbtcp    -             HBTCP
tcp     -    -     hbtcp    -             HBTCP
udp     -    -     hbtcp    -             HBTCP
socket  -    -     hbtcp    -             HBTCP
ptx     -    -     hbtcp    -             HBTCP
pty     -    -     hbtcp    -             HBTCP
.
w
q
!
fi

echo "\nCreating Necessary System Files.\nIf these files currently \
exist, they will NOT be over-written."

if [ ! -f /etc/hosts ]
then
	/bin/cp /usr/hbtcp/hosts /etc/hosts
	echo "\nThe file /etc/hosts has been created.\nYou should edit \
this file to your site specifications."
fi
if [ ! -f /etc/hosts.equiv ]
then
	/bin/cp /usr/hbtcp/hosts.equiv /etc/hosts.equiv
	echo "\nThe file /etc/hosts.equiv has been created.\nYou should edit \
this file to your site specifications."
fi
if [ ! -f /etc/networks ]
then
	/bin/cp /usr/hbtcp/networks /etc/networks
fi
if [ ! -f /etc/protocols ]
then
	/bin/cp /usr/hbtcp/protocols /etc/protocols
fi
if [ ! -f /etc/inetd.conf ]
then
	/bin/cp /usr/hbtcp/inetd.conf /etc/inetd.conf
fi
if [ ! -f /etc/resolv.conf ]
then
	/bin/cp /usr/hbtcp/resolv.conf /etc/resolv.conf
fi
if [ ! -f /etc/rarpd.cf ]
then
	/bin/cp /usr/hbtcp/rarpd.cf /etc/rarpd.cf
fi
if [ ! -f /etc/syslog.conf ]
then
	/bin/cp /usr/hbtcp/syslog.conf /etc/syslog.conf
fi
if [ ! -f /etc/gated.conf ]
then
	/bin/cp /usr/hbtcp/gated.conf /etc/gated.conf
fi
if [ ! -f /etc/services ]
then
	/bin/cp /usr/hbtcp/services /etc/services
fi
grep chargen /etc/services >/dev/null
if [ $? = 1 ]
then
	/bin/cp /usr/hbtcp/services /etc/services
fi
if [ ! -d /usr/spool/mqueue ]
then
	mkdir /usr/spool/mqueue
fi
/bin/touch /usr/spool/mqueue/syslog
/bin/touch /usr/adm/messages
/bin/touch /usr/adm/lpd-errs
/bin/chmod 666 /usr/spool/mqueue/syslog /usr/adm/messages

# Later we should check if value is greater than
# target value before setting it.
#
/etc/conf/bin/idtune -m NSTREAM 48
/etc/conf/bin/idtune -m NQUEUE 256
/etc/conf/bin/idtune -m NBLK4096 4
/etc/conf/bin/idtune -m NBLK2048 32
/etc/conf/bin/idtune -m NBLK1024 32
/etc/conf/bin/idtune -m NBLK512 32
/etc/conf/bin/idtune -m NBLK256 64
/etc/conf/bin/idtune -m NBLK128 128
/etc/conf/bin/idtune -m NBLK64 256
/etc/conf/bin/idtune -m NBLK16 256
/etc/conf/bin/idtune -m NBLK4 128

# If sendmail is loaded, have them configure mail
if [ -r /usr/options/bn.name ]
then
echo
echo "Choose the \"mailmgmt\" option in the \"packagemgmt\" menu to configure"
echo "the mail system on this host."
echo
fi

echo
echo "*** NEW INSTALLATION ***"
echo "If this is a new installation or if you would like to select another"
echo "Ethernet board to use IN PLACE of the existing one:"
echo "Use the sysadm command, and choose the \"hbtcpmgmt\" option in \"tcpipmgmt\""
echo "menu to select and configure the Ethernet board driver for using with your"
echo "Host Based TCP/IP."
echo
echo "*** EXISTING INSTALLATION ***"
echo "If you are upgrading to a new release of Host Based TCP/IP, run"
echo "kconfig and select item \"Configure new kernel\" to rebuild with"
echo "any new networking drivers."
echo
echo "<Press Enter to continue>"
read x