|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: R T U
Length: 1098 (0x44a)
Types: TextFile
Notes: UNIX file
Names: »Remove«
└─⟦ce621b962⟧ Bits:30004623 Controller Environment R. 1.2 (5.25 inch)
└─⟦ce621b962⟧ UNIX Filesystem
└─⟦this⟧ »CTENV.ISC/install/Remove«
└─⟦e03896eec⟧ Bits:30004624 Controller Environment R. 1.2 (3.5 inch)
└─⟦e03896eec⟧ UNIX Filesystem
└─⟦this⟧ »CTENV.ISC/install/Remove«
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 card crd0 crd1 crd3 crd5 crd7
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 /usr/ctlr/bin/cardnum2name
rm /usr/ctlr/bin/cardnum2type
#ident @(#)unsetup 1.1, RC International, 92/09/01
CTLRDIR=/usr/admin/menu/packagemgmt/ctlrmgmt
if [ -f $CTLRDIR/ctlrconfig.sh ] ; then
rm -f $CTLRDIR/ctlrconfig.sh
fi
if [ -f $CTLRDIR/ctlrsetup.sh ] ; then
rm -f $CTLRDIR/ctlrsetup.sh
fi
echo "The following files are being removed:"
for i in `cat /usr/lib/installed/Files/CTENV.ISC.name`
do
if test -d $i ; then
rmdir $i 2> /dev/null && echo $i
else
rm -f $i && echo $i
fi
done