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

⟦6932d9c16⟧ TextFile

    Length: 1189 (0x4a5)
    Types: TextFile
    Notes: UNIX file
    Names: »postinstall«

Derivation

└─⟦19aea28d9⟧ Bits:30004649 ISC 3.0.1 Patch Disk Rel. 2.0 (5.25 inch)
└─⟦19aea28d9⟧ UNIX Filesystem
    └─ ⟦this⟧ »I30PD.ISC/install/postinstall« 
└─⟦a1684274c⟧ Bits:30004650 ISC 3.0.1 Patch Disk Rel. 2.0 (3.5 inch)
└─⟦a1684274c⟧ UNIX Filesystem
    └─ ⟦this⟧ »I30PD.ISC/install/postinstall« 

TextFile

#ident	"@(#)postinstall	1.1 - 92/10/12 ICL DATA A/S"

# fix remove of tp?? drivers

kutils=/etc/KC/kutils.sh

echo "\t\tChecking kconfig utilities for patch"
sed -e '/rm -.*\/tp??/s/tp??/tp[0-9]?/' $kutils > /tmp/sed.$$
if cmp -s $kutils /tmp/sed.$$
then
	echo "\t\tPatch installed or kconfig is not the correct version"
	rm /tmp/sed.$$
else
	echo "\t\tPatch not installed, patching..."
	test -f $kutils.ORG || mv $kutils $kutils.ORG
	mv /tmp/sed.$$ $kutils
	chmod 744 $kutils
	echo "\t\tDone"
fi
echo

# fix bug in osm driver

DRV=/etc/conf/pack.d/osm/Driver.o
(
echo "\0213\025\0374\020\0\0\c"
echo "\0215\024\0225\0\0\0\0\c"
echo "\0215\024\0225\0\0\0\0\c"
echo "\003\0302\c"
echo "\0211E\0374\c"
) > /tmp/bytes.$$
echo "\t\tChecking OSM driver for patch"
dd if=$DRV bs=1 iseek=245 count=25 > /tmp/drv.$$
if cmp -s /tmp/drv.$$ /tmp/bytes.$$
then	test -f $DRV.ORG || ln $DRV $DRV.ORG
	echo "\t\tPatch not installed, patching..."
	(
		dd if=$DRV bs=1 count=258
		echo "\0220\0220\0220\0220\0220\0220\0220\c"
		dd if=$DRV bs=1 iseek=265
	) > $DRV.$$
	mv $DRV.$$ $DRV
	echo "\t\tDone"
else
	echo "\t\tPatch installed or driver is not the correct version"
fi
rm -f /tmp/bytes.$$ /tmp/drv.$$