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

⟦740dd5fa5⟧ TextFile

    Length: 1058 (0x422)
    Types: TextFile
    Notes: UNIX file
    Names: »preinstall«

Derivation

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

TextFile

#ident	@(#)preinstall	1.1, RC International, 91/12/02

# Preinstall script for the Terminal Driver package

# Save sdevice files for td, tdp, tdf and tdm

for file in td tdp tdf tdm
do
if [ -r /etc/conf/sdevice.d/${file} ] ; then
	cp /etc/conf/sdevice.d/${file} /tmp/${file}.Sdev
fi
done

# Save node files for tdp, tdf and tdm

for file in tdp tdf tdm
do
if [ -r /etc/conf/node.d/${file} ] ; then
	cp /etc/conf/node.d/${file} /tmp/${file}.Snode
fi
done

# Save init files for tdp, tdf and tdm

for file in tdp tdf tdm
do
if [ -r /etc/conf/init.d/${file} ] ; then
	cp /etc/conf/init.d/${file} /tmp/${file}.Sinit
fi
done

# Save xpasswd file

if [ -r /etc/rci.d/xpasswd ] ; then
	cp /etc/rci.d/xpasswd /tmp/xpasswd.S
fi

# Save apixrhosts file

if [ -r /etc/rci.d/apixrhosts ] ; then
	cp /etc/rci.d/apixrhosts /tmp/apixrhosts.S
fi

# Move /etc/apix and /etc/apixgetty in order to prevent new installation
# caused by text file busy

if [ -f /etc/apix ] ; then
	mv /etc/apix /etc/apix-
fi

if [ -f /etc/apixgetty ] ; then
	mv /etc/apixgetty /etc/apixgetty-
fi