--- In [email protected], foxbo...@... wrote: > > > I had a similar issue; problem is, the USB-device mount is not yet > complete at the time your script runs - so the write fails. > > The hack answer is to add a "sleep 10" to the etc/init.d/boottime - > before your script that tries to use the USB. This will let the USB mount > complete . > > Of course this does not work if what you are trying to do is invoked > *before* you get as far as reading the contents of boottime > > --PeteL.
My post is slightly misunderstood, I'm afraid. The script as is currently written, is working perfectly fine. The only thing that could cause problems, is when the mounting fails for whatever reason. Then, I should not start my "main" application. Of course, also when "main" is not on the mem stick, I should also not execute it. That's what I wanted to make clear in my previous post: the script doens't have any "protections" build in (yet...). Best rgds, --Geert
