head	4.2;
access
	hal
	ljg
	fred
	udo
	nigel;
symbols
	r12:4.2;
locks; strict;
comment	@# @;


4.2
date	94.05.02.16.14.51;	author rcsadmin;	state Exp;
branches;
next	;


desc
@@


4.2
log
@This is the baseline version
@
text
@# /etc/rc
# Tue Nov 16 12:58:08 1993 CST

# COHERENT executes this script when it comes up multiuser.

echo Going multiuser... >/dev/console

# Set the date.
. /etc/timezone
/bin/date -s `/etc/ATclock` 2>/dev/console

# Allow logins.
/bin/rm -f /etc/nologin

# Recover any files lost during an elvis edit session.
/usr/bin/elvprsv /tmp/elv_*

# Remove temporary files and clean up.
/bin/rm -f /tmp/* /tmp/.X*
/bin/rm -f /usr/spool/[lh]pd/dpid /usr/spool/uucp/LCK* /usr/spool/uucp/TM*

>/etc/mnttab
>/etc/mtab
>/etc/utmp

# Edit the file /usr/bin/modeminit and remove comment below
# if modem initialization is required, e.g. for autoanswer.
# /usr/bin/modeminit

# Edit the file /usr/bin/ramdisk and remove comment below
# if ramdisk initialization is desired.
# /usr/bin/ramdisk

# Spawn background processes.
/etc/update&

# Mount file systems if appropriate.
/etc/mount /dev/root / -u
/etc/mount.all

# Cron MUST be started AFTER /usr/spool has been mounted.
rm -f /usr/lib/cron/FIFO
/etc/cron

# Start the line printer daemon
/usr/bin/lpsched 2>/dev/null

# Remove files again, in case on a mounted filesystem.
/bin/rm -f /usr/spool/uucp/LCK*  /usr/spool/uucp/TM*
/bin/rm -f /usr/spool/[lh]pd/dpid /tmp/* /tmp/.X*
/bin/rm -f /usr/spool/socket/*

# end of /etc/rc
@
