[2328] in RedHat Linux List
Re: Autoloading of Sendmail ??
daemon@ATHENA.MIT.EDU (Mitchell Leben)
Sat Nov 2 08:16:08 1996
Date: Sat, 2 Nov 1996 08:12:04 -0600 (CST)
From: Mitchell Leben <mitch@smithphoto.com>
To: Mike Armour <kurupt@ihug.co.nz>
cc: redhat-list@redhat.com
In-Reply-To: <199611020900.WAA29523@ihug.co.nz>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Sat, 2 Nov 1996, Mike Armour wrote:
> I've recompiled my kernel , but I'm confused as to how to turn off the
> starting of sendmail, iNN etc ?? Sorry for the simple questions , noobie
> alert <g>
Here is how *I* do it. There are other ways. I find this flexible, in
case I change my mind later.
First, look in /etc/rc.d/init.d. These are the scripts that start and
stop various things. From my machine:
[root@spock init.d]# pwd
/etc/rc.d/init.d
[root@spock init.d]# ls
cron ibcs named.init nfsfs skeleton
functions inet network pcmcia smb
halt keytable news sendmail.init syslog
httpd.init lpd.init nfs single
Leave these alone! Of course, look at the scripts, but you don't have to
delete any of them. The are called from another area:
Look in /etc/rc.d/rc3.d
[root@spock rc3.d]# pwd
/etc/rc.d/rc3.d
[root@spock rc3.d]# ls
S10network@ S50inet@ S75keytable@ S91smb@ stopped/
S30syslog@ S60nfs@ S80sendmail@ S92ibcs@
S40cron@ S70nfsfs@ S90lpd@ S99local@
These links refer to the scripts listed above. If you move one of these
links, the startup script will not be executed at bootup. I created a
'stopped' directory and moved the unwanted links to it:
[root@spock rc3.d]# cd stopped
[root@spock stopped]# ls
S45pcmcia@ S85httpd@ S95news@
So, you can see I have no pcmcia support, no web server or news. This
saves some RAM since I don't need these things on this computer.
BTW, you can also change the 'S' to a 'K' which will 'stop' the script
from starting. Ie. S70nfsfs change to K70nfsfs. Start and Kill??
Good luck!
----------------------------
Mitchell Leben
mitch@smithphoto.com
http://snappy.smithphoto.com/~mitch
----------------------------
--
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