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

⟦6cad99e14⟧ TextFile

    Length: 912 (0x390)
    Types: TextFile
    Notes: UNIX file
    Names: »Remove«

Derivation

└─⟦104d96909⟧ Bits:30004765 SW95718I UNIX LAN Server Rel. 1.1
└─⟦104d96909⟧ UNIX Filesystem
    └─⟦this⟧ »LS/install/Remove« 

TextFile

rm /etc/rc2.d/S31lph
rm /usr/cards/lan2/CSPHOST.MENU
rm /usr/cards/lan2/LMPHOST.HELP
rm /usr/cards/lan2/CSPHOST.HELP
rm /usr/cards/lan2/LMPHOST.MENU
# @(#)unsetup	1.1, RC International, 90/02/28

# Check that there are no lanmux's loading
# from this server

while grep '^lm[0-9][a-f]\{6\}' /etc/passwd >/dev/null 2>&1
do
	echo "${PCKNAME} can't be uninstalled since there are RC911's
loading from this load server.
Please delete those."
	sysadm delrc911
done

# remove lanmux group

ed - /etc/group <<-!
	H
	g/^lanmux:/d
	w
	q
!
if [ $? -ne 0 ]
then
	echo "Uninstall of lanmux group failed"
fi

sh /etc/init.d/pcserver stop
rm -f /etc/pcserver.log

# uninstall the fts user in passwd file

if [ -f /usr/options/CH.name ]
then
	exit
fi
passmgmt -d ftsfts
rm -fr /usr/ftsfts
echo "The following files are being removed:"
for i in `cat /usr/lib/installed/Files/LS.name`
do
	echo $i
	rm -rf $i >/dev/null 2>&1
done