On Tuesday 05 of August 2014 00:52:07 Carlos E. R. wrote:
Hi
Hi,
I have this call in "/etc/NetworkManager/dispatcher.d/mine":
/usr/local/bin/nm-hook-mine-up $CONEXION >> /var/log/NetworkManager-mine.log &
It runs, and it calls the other script, but this one after 10 seconds, it dies or it is killed.
I'm unsure if the position of the "&" above is correct :-?
It's correct.
I know that the script dies, because I have this code in it:
echo "waiting (3)..." ; sleep 3 echo "waiting (6)..." ; sleep 3 echo "waiting (9)..." ; sleep 3 echo "waiting (12)..." ; sleep 3 echo "waiting (15)..." ; sleep 3 echo "waiting (18)..." ; sleep 3
And in the log I see:
waiting (3)... waiting (6)... waiting (9)... waiting (12)...
and goes no further.
According to https://wiki.archlinux.org/index.php/NetworkManager#Avoiding_the_dispatcher_... and the linked bug report, Networkmanager dispatcher scripts have a non- configurable timeout of 20 s. -- Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org