start syslog earlier
add optional ibcs2 startup
This commit is contained in:
parent
2a0b3f70d2
commit
e4ade01cb2
11
etc/rc
11
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
|
||||
|
@ -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:'
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user