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

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to