lkml.org 
[lkml]   [2001]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Disk is cheap?
Date
From
> On Sam, 03 Feb 2001 you wrote:
> > Actually, most of that time is spent running bash/sleep 1. Startup
> > scripts tend to be poorly designed.
>
> Yes!

I'm not so sure. I'm using RedHat 6.2, and it seems the only time a startup script calls sleep is when it gives you a chance to do interactive startup, and when you are looking for an NIS server. You could certainly remove those.

All the other calls to sleep are in the stop sections, where you want to make sure the thing died before proceeding.

But paring down the startup scripts is a good idea. For something like an embedded device, you might even want to go with a custom init, that just runs your main program.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.186 / U:0.632 seconds]
©2003-2014 Jasper Spaans. Advertise on this site