From ed0b137aabf1c263f4bde04bc9003d1cdd89e382 Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 24 Mar 1995 00:16:26 +0000 Subject: start syslog earlier add optional ibcs2 startup --- etc/rc | 11 ++++++++++- etc/rc.maint | 6 +----- etc/sysconfig | 5 ++--- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'etc') diff --git a/etc/rc b/etc/rc index 07c8191..79be41c 100644 --- a/etc/rc +++ b/etc/rc @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.53 1995/03/24 00:01:20 jkh Exp $ +# $Id: rc,v 1.54 1995/03/24 00:11:02 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -71,6 +71,10 @@ mount -a -t nonfs # the machine runs UTC CMOS clock). See adjkerntz(8) for details. adjkerntz -i +echo 'system logger' +rm -f /dev/log +syslogd + # If there is a global system configuration file, suck it in. if [ -f /etc/sysconfig ]; then . /etc/sysconfig @@ -185,6 +189,11 @@ fi ######################### End Of Syscons Section ####################### +# Start the SCO binary emulation if requested. +if [ "X${ibcs2}" = X"YES" ]; then + ibcs2 +fi + # Do traditional (but rather obsolete) rc.local file if it exists. if [ -f /etc/rc.local ]; then sh /etc/rc.local diff --git a/etc/rc.maint b/etc/rc.maint index 641b133..e7cb13f 100644 --- a/etc/rc.maint +++ b/etc/rc.maint @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.50 1995/03/22 03:29:52 ache Exp $ +# $Id: rc.maint,v 1.1 1995/03/23 01:25:51 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # Various maintainance tasks to be done as the system is coming up @@ -20,10 +20,6 @@ rm -f /var/spool/lock/* rm -f /var/spool/uucp/.Temp/* (cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; }) -echo 'system logger' -rm -f /dev/log -syslogd - # Check the quotas if [ "X${check_quotas}" = X"YES" ]; then echo 'checking quotas:' diff --git a/etc/sysconfig b/etc/sysconfig index 015d149..a2f211c 100644 --- a/etc/sysconfig +++ b/etc/sysconfig @@ -4,7 +4,7 @@ # This is sysconfig - a file full of useful variables that you can set # to change the default startup behavior of your system. # -# $Id: sysconfig,v 1.5 1995/03/23 01:25:19 jkh Exp $ +# $Id: sysconfig,v 1.6 1995/03/24 00:01:21 jkh Exp $ ######################### Start Of Syscons Section ####################### @@ -135,6 +135,5 @@ accounting=NO ######################### Start Of Misc Section ####################### -# Set to YES if you want ibcs2 emulation loaded at startup +# Set to YES if you want ibcs2 (SCO) emulation loaded at startup ibcs2=NO - -- cgit v1.1