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
Index: T e

⟦a022083b9⟧ TextFile

    Length: 1016 (0x3f8)
    Types: TextFile
    Names: »etc/init.d/firstcheck «

Derivation

└─⟦ff5a9a1ac⟧ Bits:30004042/core3.imd SW95705I 386/ix Multi-user Release 1.2
    └─⟦this⟧ »etc/init.d/firstcheck « 

TextFile

#ident	"@(#)initpkg:init.d/firstcheck	1.1"
#	Perform the "never have been run before" checks.

set `who -r`
if [ $9 != "S" ]
then
	exit
fi

echo '
This machine has not been used as a customer machine yet.  The messages that
follow are from checking the built-in file systems for damage that might have
occurred during shipment.  As long as you do not see either of the messages
                                BOOT UNIX
or                      FILE SYSTEM WAS MODIFIED
all is well.  If either message does come out, call your service representative.
However, the machine is still usable unless you are told otherwise.'
sleep 20
echo 'Checking file systems:
'
sync
if  /etc/fsck -y -D /dev/root `sed '	/^#/d
			s/[ 	].*//' /etc/fstab`
then
	echo '\n'
else
	echo '▶07◀▶07◀▶07◀▶07◀▶07◀▶07◀
        WARNING: The file system check has identified serious problems.
        We strongly recommend that you contact your service representative
        before using the machine.

The power will now be turned off.
'
	sleep 4
	/etc/uadmin 2 0
fi