[maemo-developers] getty over serial is running

From: Frantisek Dufka dufkaf at seznam.cz
Date: Thu Apr 19 13:02:12 EEST 2007
Riku Voipio wrote:
> This script is unmodified from older releases. What has changed is that 
> kernel
> has been fixed not to create ttyS0 if serial port is not enabled.

This is different problem. Kernel does not create it. dd utility creates 
is as a regular file since it is told to do so by mistake.

> The check should now be
> 
> if [ -c /dev/ttyS0 ] ; then
> 
> to have the intended effect.

Yes, and maybe then for older kernel there should be dd test inside this 
'if' block.

Frantisek


More information about the maemo-developers mailing list