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

⟦abb335326⟧ TextFile

    Length: 982 (0x3d6)
    Types: TextFile
    Notes: UNIX file
    Names: »account«

Derivation

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

TextFile

#! /bin/csh -f

set noglob

switch (`ask etcutmp "Create empty /etc/utmp?"`)
case quit:
	exit(1)
case y:
case yes:
	echo > /etc/utmp
endsw

makedir /usr/adm
switch (`ask admwtmp "Create empty /usr/adm/wtmp?"`)
case quit:
	exit(1)
case y:
case yes:
	echo > /usr/adm/wtmp
endsw

echo ""
grep ":.*/etc/accton" /etc/rc > /dev/null
if ($status) then
	echo "Looks like you turned on accounting in /etc/rc"
else
	echo "Looks like you didn't turn on accounting in /etc/rc"
endif
sleep 2
switch (`ask admacct "Create empty /usr/adm/acct?"`)
case quit:
	exit(1)
case y:
case yes:
	echo > /usr/adm/acct
	break
endsw

switch (`ask crontab "Write /usr/lib/crontab?"`)
case quit:
	exit(1)
case y:
case yes:
	echo > /tmp/crontab
	wrline ctdmesg $subs/ctdmesg /tmp/crontab
	if ($status) exit(1)
	wrline ctpresv $subs/ctpresv /tmp/crontab
	if ($status) exit(1)
	wrline ctgames $subs/ctgames /tmp/crontab
	if ($status) exit(1)
	wrfile wrcron /tmp/crontab /usr/lib/crontab
	if ($status) exit(1)
endsw