commit | 1864435759305800aeda41fc3e37baceb5762116 | [log] [tgz] |
---|---|---|
author | Kun Yi <kunyi731@gmail.com> | Mon Aug 27 11:37:42 2018 -0700 |
committer | Kun Yi <kunyi731@gmail.com> | Mon Aug 27 11:45:26 2018 -0700 |
tree | 050f30373fbb04046962f10ed84d27cb4f97d791 | |
parent | 3c89b263484128071343bdaf0b5f3a8dace32799 [diff] |
log-handler: Init log size properly Log size is not initialized when the config string is not present in the configuration file. Add a default value in that case. Resolves openbmc/obmc-console#14 Tested: Made sure when configuration file contains no logsize option, the size is configured to 16kB. Change-Id: I20b109fc791f2d6ac54704c9aabb5cd129a8bf13 Signed-off-by: Kun Yi <kunyi731@gmail.com>
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.