DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦53775beb4⟧ TextFile

    Length: 1103 (0x44f)
    Types: TextFile
    Notes: UNIX file
    Names: »rc.sav«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »etc/rc.sav« 

TextFile

#! /bin/sh
# @(#)rc.sh	1.3	10/5/83
# @(#)Copyright (C) 1983 by National Semiconductor Corp.
PATH=/usr/ucb:/bin:/etc:/usr/bin; HOME=/; export PATH; export HOME
hostname comet1
/etc/setclock
if test $1x = autobootx
then
	echo Automatic reboot in progress... >/dev/console
	if test `find /etc -name fsckdate -mtime +2 -print`
	then
		echo "Checking file systems..." > /dev/console
		/etc/fsck -p > /dev/console
		status=$?
		case $status in
		0)
			touch /etc/fsckdate
			;;
		4)
			/etc/reboot -n
			;;
		8)
			echo 'Automatic reboot failed... help!' > /dev/console
			exit 1
			;;
		12)
			echo 'Reboot interrupted' > /dev/console
			exit 1
			;;
		*)
			echo "Unknown error:$status in reboot" > /dev/console
			exit 1
			;;
		esac
	else
		echo "Skipping file systems check..." > /dev/console
	fi
	date > /dev/console
fi
cp /dev/null /etc/mtab
/etc/mount -a > /dev/console
/usr/lib/ex3.6preserve -a
rm -f /tmp/* /usr/tmp/* /usr/spool/lpd/lock /usr/spool/slp/lock /etc/nologin
touch /usr/tmp/.hushlogin
/etc/update
/etc/cron
: /etc/savecore /usr/crash 2>&1 > /dev/console
/etc/accton /usr/adm/acct
exit 0