hi Geert,
adding a 10s sleep solved the problem
the script now is
  sleep 10
  echo 'boottime' > /tmp/boottime
thanks very much

--- In [email protected], "Geert Vancompernolle"
<geert.foxbo...@...> wrote:
>
> --- In [email protected], "archi75012" <archi12@> wrote:
> 
> > Do you have a working example to send me ?
> > Thanks again for your help
> >
> 
> Maybe this article on my wiki can help:
> http://www.gevawebsolutions.com/wiki/index.php?
> title=Scripts#automount_script
> 
> The purpose is the following:
> 
> When the FoxBoard starts, I want to mount a USB device connected to 
> the board.
> 
> If this is the case, then I want to run a program, called "main".
> 
> This works fine.  The only thing I get is an error message when 
> there's a USB stick connected to the device but there's no "main" 
> application on it.  That, however, can be avoided by adding the 
> necessary checks in the script (e.g. has the mounting failed or not).
> 
> Hope this helps.
> 
> Best rgds,
> --Geert
>


Reply via email to