[arch-releng] Hook executed twice

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Mon Apr 11 23:40:16 EDT 2011

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 

All functions are executed twice.

# /etc/rc.d/functions.d/pepe
pepe_0() {
     stat_busy "pepe_0"
pepe_1() {
     stat_busy "pepe_1"
pepe_2() {
     stat_busy "pepe_2"
pepe_3() {
     stat_busy "pepe_3"

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

More information about the arch-releng mailing list