Dynamically start console server on a given TTY
obmc-console-server currently uses /dev/ttyVUART0, which is a symlink
to ttyS0. This patch allows the TTY number to be populated based on some source
and then passes the TTY number on which the console server needs to be started.
This patch also makes sure that obmc-console-ssh@.service is instantiated only
if the console server is started on the TTY device mentioned above.
Fixes openbmc/openbmc#407
Change-Id: If7a6f0e5b899a32225af262e72a3292fb619920a
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
4 files changed