From d35abc800dcd1bf0af0c53d48b4e74c95dbce4ed Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Sat, 8 Jul 2023 17:32:31 +0300 Subject: [PATCH] cdba-server: add CDBA-server banner to be output on startup Granted all possible issues with SSH, especially in the remote and/or proxied labs, and possible issues with the board being present but failing to power up, it is useful to have a banner message once CDBA was started. This gives user a clear picture that the connection is fine and the server is trying to power up the board. Signed-off-by: Dmitry Baryshkov --- cdba-server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cdba-server.c b/cdba-server.c index 425b2b0..4d47e1a 100644 --- a/cdba-server.c +++ b/cdba-server.c @@ -356,6 +356,8 @@ int main(int argc, char **argv) signal(SIGPIPE, sigpipe_handler); + fprintf(stderr, "Starting cdba server\n"); + username = getenv("CDBA_USER"); if (!username) username = getenv("USER");