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

⟦074993d54⟧ TextFile

    Length: 1379 (0x563)
    Types: TextFile
    Notes: UNIX file
    Names: »unsetup«

Derivation

└─⟦f660c3862⟧ Bits:30004068/disk1.imd Interactive TCP/IP v.1.2
└─⟦f660c3862⟧ UNIX Filesystem
    └─⟦this⟧ »hb/install/unsetup« 

TextFile

#
#       Unsetup script for INTERACTIVE UNIX TCP/IP Networking Package.
#
#ident	"@(#)unsetup	2.10 - 90/01/31"

CONF=/etc/conf
export CONF

echo "\n"In order to complete the removal, a new kernel must be built.
echo If you will later install or remove a package
echo that builds a new kernel, you may skip the kernel build.

while true
do
	echo "\nDo you want to build a kernel without Host-Based TCP/IP [ y ] ? \c"
	read answer
	if [ "$answer" = "y" -o "$answer" = "Y" -o "$answer" = "" ]
	then
		echo "Building kernel without Host-Based TCP/IP Package..."
		/etc/kconfig -l -r / <<! >/tmp/ins.$$.hb
B
!
		echo "Kernel rebuilt."
		kern=`fgrep "build -k" /tmp/ins.$$.hb | cut -d' ' -f4`
		rm -f /tmp/ins.$$.hb
		if [ -n "$kern" ]
		then
			echo "\n"Installing a new kernel requires a system re-boot.
			echo When finished removing packages, to install the newly built kernel,
			echo as user root, enter:
			echo "\tcd /"
			echo "\tinskern unix.$kern"
		fi
		break
	fi
	if [ "$answer" = "n" -o "$answer" = "N" ]
	then
		break
	fi
	echo "Please answer with 'y' or 'n'."
	continue
done

rm /etc/hosts /etc/netd.cf /etc/hosts.equiv /etc/networks >> /dev/null 2>&1
rm /etc/protocols /etc/services /etc/resolv.conf /etc/inetd.conf >> /dev/null 2>&1
rm /etc/syslog.conf /etc/gated.conf /etc/rarpd.cf >> /dev/null 2>&1

cat <<-\! | ed -s $CONF/kconfig.d/description
g/ hbtcp /d
w
q
!