[arch-releng] Hook executed twice
Hi, At some point, I hope everything will run just OK... but I have another problem. The automated_script hook that I added is executed twice. At boot the line "Configuring <url> [DONE]" appears twice and /root/.bash_profile is filled twice. I have no idea what's the problem. Any thoughts ? Charles
On 04/11/2011 06:37 AM, Charles Vejnar wrote:
Hi,
At some point, I hope everything will run just OK... but I have another problem. The automated_script hook that I added is executed twice. At boot the line "Configuring <url> [DONE]" appears twice and /root/.bash_profile is filled twice.
I have no idea what's the problem. Any thoughts ?
Charles
Yes, confirmed. Weird, I am doing some tests to detect what is the fault... Any hook added is executed twice. I can not replicate on my system just only in live-media.... All functions are executed twice. # /etc/rc.d/functions.d/pepe ------------ pepe_0() { stat_busy "pepe_0" stat_done } pepe_1() { stat_busy "pepe_1" stat_done } pepe_2() { stat_busy "pepe_2" stat_done } pepe_3() { stat_busy "pepe_3" stat_done } add_hook sysinit_start pepe_0 add_hook sysinit_end pepe_1 add_hook multi_start pepe_2 add_hook multi_end pepe_3 ---------------- -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1
participants (2)
-
Charles Vejnar
-
Gerardo Exequiel Pozzi