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

⟦9c385b5a3⟧ TextFile

    Length: 866 (0x362)
    Types: TextFile
    Notes: UNIX file
    Names: »postinstall«

Derivation

└─⟦ce621b962⟧ Bits:30004623 Controller Environment R. 1.2 (5.25 inch)
└─⟦ce621b962⟧ UNIX Filesystem
    └─⟦this⟧ »CTENV.ISC/install/postinstall« 
    └─⟦this⟧ »CTENV.SCO/install/postinstall« 
└─⟦e03896eec⟧ Bits:30004624 Controller Environment R. 1.2 (3.5 inch)
└─⟦e03896eec⟧ UNIX Filesystem
    └─⟦this⟧ »CTENV.ISC/install/postinstall« 
    └─⟦this⟧ »CTENV.SCO/install/postinstall« 

TextFile

#ident @(#)postinstall	1.3, RC International, 92/09/01

# If saved sdevice files, restore

for file in card crd0 crd1 crd3 crd5 crd7
do
	if [ -r /tmp/${file}.S ] ; then
		cp /tmp/${file}.S /etc/conf/sdevice.d/${file}
	fi
	if [ -r /tmp/${file}.I ] ; then
		cp /tmp/${file}.I /etc/conf/init.d/${file}
	fi
	if [ -r /tmp/${file}.N ] ; then
		cp /tmp/${file}.N /etc/conf/node.d/${file}
	fi
done
CRDS=`grep '^crd[1357][ 	]Y[ 	]' /etc/conf/sdevice.d/card |
cut -c1-4 | sort -u`
if test -n "$CRDS"; then
	(
	echo "$CRDS" |
	sed -e 's,^\(.*\)\(.\)$,g/^&.*-1$/s/-1$/\2/,p'
	echo "w\nq"
	) | ed -s /etc/conf/cf.d/mdevice
fi

CTLRDIR=/usr/admin/menu/packagemgmt/ctlrmgmt

if test -f /usr/admin/sysadm.ui
then
	rm -f $CTLRDIR/DESC
	mv -f $CTLRDIR/ctlrconfig $CTLRDIR/ctlrconfig.sh
	mv -f $CTLRDIR/ctlrsetup $CTLRDIR/ctlrsetup.sh
else
	rm -f $CTLRDIR/Menu
	rm -f $CTLRDIR/Help
fi