I’ve tried to RTFM for the answer to this question, but this may be a case
of where I don’t know enough to know where to look.
I need to find a good way to emulate the behavior of the build file script’s
waitfor command in a ksh script.
This is what I am using now:
while [[ ! -e /dev/io-net/en0 ]]; do
echo ‘Waiting…’
sleep 1
done
This gets awfully slow once you string a few of these together. Is there a
better way?
Matt Boothe <embeddedmatt@yahoo.com> wrote:
I’ve tried to RTFM for the answer to this question, but this may be a case
of where I don’t know enough to know where to look.
I need to find a good way to emulate the behavior of the build file script’s
waitfor command in a ksh script.
You could use the waitfor utility, /bin/waitfor.
-David
David Gibbs
QNX Training Services
dagibbs@qnx.com
David Gibbs wrote:
Matt Boothe <> embeddedmatt@yahoo.com> > wrote:
I’ve tried to RTFM for the answer to this question, but this may be a case
of where I don’t know enough to know where to look.
I need to find a good way to emulate the behavior of the build file script’s
waitfor command in a ksh script.
You could use the waitfor utility, /bin/waitfor.
-David
or ‘on -w’
–
Cheers,
Adam
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>
Suprisingly(or not?) /bin/waitfor is actually just a link to on
Adam Mallory wrote:
David Gibbs wrote:
Matt Boothe <> embeddedmatt@yahoo.com> > wrote:
I’ve tried to RTFM for the answer to this question, but this may be a
case of where I don’t know enough to know where to look.
I need to find a good way to emulate the behavior of the build file
script’s waitfor command in a ksh script.
You could use the waitfor utility, /bin/waitfor.
-David
or ‘on -w’
–
cburgess@qnx.com
You could use the waitfor utility, /bin/waitfor.
Indeed I could! That’s actually what I tried first but I neglected to
include waitfor in my build file. I think my brain must already be on
Thanksgiving vacation.