"Richard A. Smith" wrote:
> 
> How do I go about redirecting all the output from the various init
> scripts out the serial port via the serial console.
> 
> I have console=ttyS2 in my kernel command line but I only get the
> kernel messages and not the rest.

Have you tried something like:

echo -n "Starting fooservice..." >>/dev/ttyS2
/usr/local/sbin/fooservice &&
echo " done" >>/dev/ttyS2

It means changing each init script you use, but it works very well.

Hope it helps,

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to