Category : Recently Uploaded Files
Archive   : 2300EIDE.EXE
Filename : REMOVE

 
Output of file : REMOVE contained in archive : 2300EIDE.EXE
#
# (C) Copyright Promise Technology, Inc., 1994
# This source file is the property of Promise Technology Inc.
# It may not be copied or distributed in any isomorphic form
# without an appropriate prior licensing arrangement with
# Promise Technology, Inc.
#
# Shell script to remove UNIX driver
#

TMPFILE=/tmp/tmp$$
MDEVICE=/etc/conf/cf.d/mdevice
SCOHDSPACE=/etc/conf/pack.d/hd/space.c
SCOPACK=/etc/conf/pack.d/wd0
ATTPACK=/etc/conf/pack.d/hd

strings - /bin/pwd | grep 'SCO' > /dev/null 2>&1
if [ $? = 0 ]
then
UNIXID=SCO
fi

strings - /bin/pwd | grep 'UNIX System V/386' > /dev/null 2>&1
if [ $? = 0 ]
then
UNIXID="AT&T"
fi

echo "\n\nRemoving driver ..."

# mdevice
if [ "$UNIXID" = "AT&T" ]
then
sed -e '/^hd/s/[ ]pti/ hd/g' $MDEVICE > $TMPFILE
fi
cp $TMPFILE $MDEVICE 2> /dev/null

if [ $UNIXID = SCO ]
then
THISPACK=$SCOPACK
else
THISPACK=$ATTPACK
fi

cp ${THISPACK}/Driver.ptibak ${THISPACK}/Driver.o 2> /dev/null
rm ${THISPACK}/space.c $THISPACK/Driver.ptibak > /dev/null 2>&1

/etc/conf/bin/idbuild
if [ $? != 0 ]
then
exit 1
fi
rm /bin/ptisetmode > /dev/null 2>&1
rm $TMPFILE > /dev/null 2>&1
sync
sync
exit 0


  3 Responses to “Category : Recently Uploaded Files
Archive   : 2300EIDE.EXE
Filename : REMOVE

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/