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

⟦9943671d6⟧ TextFile

    Length: 942 (0x3ae)
    Types: TextFile
    Notes: UNIX file
    Names: »rc«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »sys/build/model/rc« 

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 %hostname
/etc/setclock
if test $1x = autobootx
then
	echo Automatic reboot in progress... >/dev/console
	date >/dev/console
	/etc/fsck -p >/dev/console
	status=$?
	case $status in
	0)
		date >/dev/console
		;;
	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
	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 /etc/nologin
touch /usr/tmp/.hushlogin
/etc/update
/etc/cron
: /etc/savecore /usr/crash 2>&1 > /dev/console
: in case you want to do it  /etc/accton /usr/adm/acct
exit 0