• Mike Frysinger's avatar
    tools/netconsole: make a bit more robust · 9914be9d
    Mike Frysinger authored
    The netcat utility likes to exit when it receives an empty packet (as it
    thinks this means EOF).  This can easily occur when working with command
    line editing as this behavior will be triggered when using backspace.  Or
    with tabs and command line completion.  So create two netcat processes -
    one to only listen (and put it into a loop), and one to do the sending.
    Once the user quits the transmitting netcat, the listening one will be
    killed automatically.
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
netconsole 800 Bytes