On Tue, 2002-08-20 at 16:18, Brent Metzler wrote:
> On Tue, 2002-08-20 at 15:20, Dave Sherman wrote:
> > On Tue, 2002-08-20 at 14:49, Sreekumar Kodakara wrote:
> > > Hi,
> > > I have installed RH6.2 in an embedded system. I found that the machine
> > > takes a long time to boot starting many daemons ( like sendmail etc) and
> > > also checking for new hardware which is not required in this system. I
> > > would be grateful to you if you can tell me how to prevent these
> > > to make the boot time faster.
> > > Thanks
> > > Sreekumar
> > 
> > If you only want to *disable* automatic startup of certain services at
> > boot, then look in the various /etc/rc.d/rc*.d directories, and delete
> > (or rename with a lower-case first letter 's') the startup scripts you
> > do not want to run. Note that these files are really just symlinks to
> > the real files in /etc/rc.d/init.d, so if you delete the links, your
> > actual startup scripts will remain intact for later use. Also, the rc*.d
> > directories are numbered based on the runlevel you boot into. If you
> > boot to a command prompt (no GUI), then rc3.d is the place to focus. If
> > you boot to X, then look in rc5.d.
> 
> But this is RedHat, so the correct way to manage services in this case
> is to use chkconfig.

Y'know, I've heard of chkconfig, but never used it. Somewhere along the
way, I learned how to deal directly with the appropriate files, with no
need (or even desire) for a front-end. Nevertheless, I think chkconfig
is probably a better way of doing things, even if I never bother to use
it.

That said, though, I was *really* trying to show the individual that it
would be better to completely remove unneeded (and inwanted) services,
than to simply disable them. Thus my instructions about rpm. If he's
running an embedded system, he should really pare the system down to the
bare essentials of what he needs, rather than go with a default Red Hat
install with many services disabled. Actually, this philosophy applies
just as well for any system: completely remove any services you know you
won't need, in order to save disk space, processor time, RAM usage, and
other resources. Put simply, "Trim the fat!"

-- 
Dave Sherman        |     "They that can give up essential liberty
MCSE, MCSA, CCNA    |       to obtain a little temporary safety
                    |       deserve neither liberty nor safety."
                    |        - Benjamin Franklin (1706 - 1790)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020820/df9b32f1/attachment.pgp