kmscon: introduce new --listen mode
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 6 Dec 2012 12:55:00 +0000 (13:55 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 6 Dec 2012 12:55:00 +0000 (13:55 +0100)
commit2ac94213771155431a73cbbafc570b213efaf414
treeed822ab3d6cd5014ae0215e2d3f1d20335e8bc35
parentb972ebb1028013face765fc96d9b9d6fee32c6b0
kmscon: introduce new --listen mode

Instead of configuring everything for every kind of situation, we now
split kmscon into two modes: default-mode and listen-mode

In default-mode we run on the given seats once until we encounter a HUP or
until we are closed. It's a perfect replacement for agetty.

In listen-mode, we run only on non-VT seats and provide the full kmscon
functionality. We run as system daemon and wait for new seats and close
seats if they are destroyed. We simply provide a full system-console on
all seats.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_conf.c
src/kmscon_conf.h
src/kmscon_main.c
src/kmscon_seat.c