Re: udev not running script: Almost there!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-03-09 at 13:53 -0300, Mariano López Reta wrote:
> On Thu, 2006-03-09 at 09:35 -0700, Craig White wrote:
> > I don't know because I haven't done it but is it possible to put a 10 or
> > 15 second wait loop in your script to pause it until device is actually
> > mounted?
> > 
> > Craig
> > 
> 
> I tried, but the creation of the dev is executed AFTER the script, not
> simultaneously, so if I wait, say, 10 seconds, only thing I get is a 10
> second delay to failure. I even tried to wait until /dev/ttyUSB0 exists,
> but then it never gets created.
> 
> Any other ideas?
----
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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux