[PATCH] getty: Wait until all output written to stdout has been transmitted
dottedmag at dottedmag.net
Sat Jan 22 12:40:45 UTC 2011
Twas brillig at 02:57:47 22.01.2011 UTC+01 when vda.linux at googlemail.com
did gyre and gimble:
DV> But it may lead to a hang if serial line gets mangled: in some
DV> situations tcdrain may wait forever.
DV> I propose adding sleep(1) before the flush. Can you verify that it
alarm+tcdrain maybe? This way it won't wait a second if there is nothing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 489 bytes
Desc: not available
More information about the busybox