Ahoj, Dňa Tue, 08 Jul 2014 13:00:24 +0200 berenger.mo...@neutralite.org napísal:
> > > Le 08.07.2014 08:58, Kushal Kumaran a écrit : > > Neal Murphy <neal.p.mur...@alum.wpi.edu> writes: > > > >> On Monday, July 07, 2014 03:49:52 PM Michael Biebl wrote: > >>> Am 07.07.2014 21:29, schrieb Andrei POPESCU: > >>> > To prove my point (on a laptop with LXDE and just a few > >>> services): > >>> > $ grep sleep /etc/init.d/* | wc -l > >>> > 27 > >>> > $ ls /etc/init.d/* | wc -l > >>> > 75 > > Well, you are clearly more expert than I, beer or not, since I did > not known that init scripts had sleeps in them. > > Just for the info, your regex is not accurate, you do not include > comments in it ;) but it won't change the fact that there is a > problem: > > $ grep sleep /etc/init.d/* | wc -l > 14 > $ ls /etc/init.d/* | wc -l > 45 > > Ratio: 31.1% How many sleep's occurrences are in the restart sequence? e.g.: do_stop() sleep 1 do_start() And how this restart sequence affects start of the services/system? regards -- Slavko http://slavino.sk
signature.asc
Description: PGP signature