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 - download

⟦848e4269e⟧ TextFile

    Length: 1026 (0x402)
    Types: TextFile
    Notes: UNIX file
    Names: »Remove«

Derivation

└─⟦82ee0715d⟧ Bits:30004771 Terminal Driver Rel. 1.2 (3.5 inch)
└─⟦82ee0715d⟧ UNIX Filesystem
    └─ ⟦this⟧ »RCTDR.ISC/install/Remove« 
└─⟦ca69fd3f9⟧ Bits:30004770 Terminal Driver Rel. 1.2 (5.25 inch)
└─⟦ca69fd3f9⟧ UNIX Filesystem
    └─ ⟦this⟧ »RCTDR.ISC/install/Remove« 

TextFile

CONF=/etc/conf
ERROR="An error was encountered during removing the driver, package removal \
cannot be complete"
echo "The following driver(s) is being removed:"
for dname in td tdf tdm tdp
do
	echo "\t$dname"
	${CONF}/bin/idcheck -p $dname >/dev/null 2>&1
	if [ $? != 0 ]
	then
		if [ -f ${CONF}/pack.d/$dname/stubs.c ]
		then
			${CONF}/bin/idinstall -gs $dname | sed -e 's/Y/N/'>System
			${CONF}/bin/idinstall -eus $dname 
			${CONF}/bin/idinstall -dopnirhclz $dname 
		else
			${CONF}/bin/idinstall -d $dname
		fi
		if [ $? != 0 ]
		then
			echo $ERROR
			exit 1
		fi
	fi
done
rm /etc/apixgetty
#
# unsetup script for the Terminal Driver package
#

#ident "@(#)unsetup	1.1 - 92/12/16"

CONF=/etc/conf
export CONF

cat <<-\! | ed -s $CONF/cf.d/mtune
g/TD_MAPCH/d
w
q
!

cat <<-\! | ed -s $CONF/cf.d/stune
g/TD_MAPCH/d
w
q
!
echo "The following files are being removed:"
for i in `cat /usr/lib/installed/Files/RCTDR.ISC.name`
do
	if test -d $i ; then
		rmdir $i 2> /dev/null && echo $i
	else
		rm -f $i && echo $i
	fi
done