Hi Terry,

> Anyone know how to get the message to delay?

Assuming "display".  :-)  I don't have a Raspbian to poke about, but I'm
assuming /etc/init.d/rc.local exists and it's what runs /etc/rc.local if
it's executable.  Make sure it is.

If you're using `echo foo' then that goes to standard out, stdout.  But
that might be being discarded.  You could try standard error, stderr,
instead with `echo foo >&2'.  But that might be being discarded too.
Use 

    echo foo `date` >>/tmp/i-am-terry

to ensure your commands are running at all by checking that file
afterwards.

Once you know they are because you see some output then you can be
adventurous.

    ls -l /proc/self/fd >>/tmp/i-am-terry

That will capture where your stdout, 1, and stderr, 2, are going.
Perhaps /dev/null.  The results would be of interest.

And then there's two more to try.

    echo this is tty >/dev/tty
    echo this is console >/dev/console

You could just put them all in rc.local at once and see what happens.

    echo terry: stdout
    echo terry: stderr >&2
    echo terry: tmp file `date` >>/tmp/i-am-terry
    ls -l /proc/self/fd >>/tmp/i-am-terry
    echo this is tty >/dev/tty
    echo this is console >/dev/console

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2017-10-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to