Le 08.07.2014 18:17, Slavko a écrit :
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
I must admit, that I have no idea about that, I simply used the
commands provided previously by Andrei.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
https://lists.debian.org/14abdf09a3f18fb12b4301f480537...@neutralite.org