[5316] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Cleaning up rc.sysinit

daemon@ATHENA.MIT.EDU (Cindy Bartorillo)
Wed Nov 20 16:16:35 1996

Date: Wed, 20 Nov 1996 16:13:42 -0500 (EST)
From: Cindy Bartorillo <cindybar@erols.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

I've recompiled the 2.0.18 kernel and removed modules. Can I now
comment out the following lines from /etc/rc.d/rc.sysinit?

     # Get ready for kerneld
     echo -n "Finding module dependencies"
     depmod -a
     echo ""

     if [ -x /sbin/kerneld ]; then
         /sbin/kerneld
     fi

And can/should I comment this bit out?

     # Load modules (for backward compatibility with VARs)
     if [ -f /etc/rc.d/rc.modules ]; then
     	/etc/rc.d/rc.modules
     fi

And this?

# If a SCSI tape has been detected, load the st module unconditionally
# since many SCSI tapes don't deal well with st being loaded and unloaded
if cat /proc/scsi/scsi | grep -q 'Type:   Sequential-Access' ; then
	if cat /proc/devices | grep -qv ' 9 st' ; then
		insmod st
	fi
fi



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post