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

⟦65fbad27c⟧ TextFile

    Length: 2881 (0xb41)
    Types: TextFile
    Notes: UNIX file
    Names: »no«

Derivation

└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2
└─⟦8c4f54e61⟧ UNIX Filesystem
    └─⟦this⟧ »hb/new/usr/admin/menu/packagemgmt/tcpipmgmt/hbtcpmgmt/no« 

TextFile

#help#  
#help#  Selecting this menu item will configure 
#help#  No Network Board into the system. (loopback only)
#menu#  No Network Board (loopback only)
#
#ident	"@(#)no	2.8 - 90/01/31"
#  The following is an installation script for use with System V, Release 3
#  using either linkable or installable device drivers.
#  
#  This script does the following:
#    -- Finds the current major numbers and driver configuration parameters.
#    -- Asks the user if the major numbers need changing.
#    -- If yes, it prompts for new major numbers and modifies the driver
#       config files as appropriate.
#    -- Asks the user if the driver configuration parameters needs changing.
#    -- If the system requires any driver config parameters to be changed, it
#       modifies the space.c and config file.
#    -- Checks for conflicts on the interrupt vector set in the previous
#       steps; if one is found then a bunch of instructions on how to
#       proceed are written to the screen.
#    -- If necessary, changes netd.cf for the driver.
#    -- Removes any existing special files and create the special files
#       (devices) required by HBTCP.
#    -- Calls kconfig to build a kernel if the user wants to.

changed=no
T1=/tmp/il1.$$
T2=/tmp/il2.$$
LOCNAME=`uname -n`
SDEVDIR=/etc/conf/sdevice.d/
export T2 T1 LOCNAME

#   Set trap after variables defined
trap "rm -f ${T1:-/tmp/il?.*} $T2 ; exit 3" 2 3 15
flags="-qq -k$$"

cat << EOF


                          INTERACTIVE UNIX
                Host Based TCP/IP Software Installation
                   UNIX System V Release 3 Version

EOF

cp /usr/admin/menu/packagemgmt/tcpipmgmt/hbtcpmgmt/_netd.cf /etc/netd.cf
#
#  change /etc/netd.cf to delete references to DEV
#  set the hostname in /etc/netd.cf
#
echo "\nDeleteing all occurances of DEV,ARP and arp from /etc/netd.cf file..."
echo "Setting Host Based TCP/IP in a loop back mode...\n"
ed - /etc/netd.cf > /dev/null <<-EOF
	g/DEV/d
	g/ARP/d
	g/arp/d
	g/local_site_name/s//$LOCNAME/
	w
	q
	EOF

awk '/llc/ { OFS="\t"; $2="N" ; print $0 }' ${SDEVDIR}/llc > /tmp/no.tmp
mv /tmp/no.tmp ${SDEVDIR}/llc

awk '/wd/ { OFS="\t"; $2="N" ; print $0 }' ${SDEVDIR}/wd > /tmp/no.tmp
mv /tmp/no.tmp ${SDEVDIR}/wd

awk '/el/ { OFS="\t"; $2="N" ; print $0 }' ${SDEVDIR}/el > /tmp/no.tmp
mv /tmp/no.tmp ${SDEVDIR}/el

awk '/ec/ { OFS="\t"; $2="N" ; print $0 }' ${SDEVDIR}/ec > /tmp/no.tmp
mv /tmp/no.tmp ${SDEVDIR}/ec

awk '/ub/ { OFS="\t"; $2="N" ; print $0 }' ${SDEVDIR}/ub > /tmp/no.tmp
mv /tmp/no.tmp ${SDEVDIR}/ub

awk '/sl/ { OFS="\t"; $2="N" ; print $0 }' ${SDEVDIR}/sl > /tmp/no.tmp
mv /tmp/no.tmp ${SDEVDIR}/sl

rm /etc/rc3.d/S80slip > /dev/null 2>&1
rm /etc/rc2.d/K60slip > /dev/null 2>&1
rm /etc/rc0.d/K70slip > /dev/null 2>&1

if checkyn ${flags} -f "Do you wish to build a new kernel at this time?"
then
	sh runlevel
	/etc/kconfig  -r /
fi
/bin/rm -f $T1 $T2
exit 0