udev not running script: Almost there!

Mariano López Reta mlreta at alternativagratis.com
Thu Mar 9 17:21:01 UTC 2006


On Thu, 2006-03-09 at 10:01 -0700, Craig White wrote:
> how about if you fork your script to a new process which allows the
> mount to happen while your script waits...
> 
> PROGRAM+="/etc/udev/scripts/ipaq.sh &"
> 
> just thinking small here...
> 
> Craig
> 

Hmmmm, nice shot, but it seems to ignore the forking and waits script
execution. But...

As I was writing this, I remembered reading somewhere that there was a
RUN also, whose description said "adds to the execution..." so I
thought, maybe PROGRAM *replaces* execution, and RUN *adds* the
execution. So I tried replacing PROGRAM with RUN and...

Voila!

Now I have another problem, but it looks like a permissions one, that
will surely be easy(ier) to solve!

Thank you very much, Craig!

Mariano Lopez Reta





More information about the fedora-list mailing list