summaryrefslogtreecommitdiff
path: root/src/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-30 21:31:40 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-30 23:03:58 +0200
commitb2bb3dbed9607c440b1a9ccacc515e28136d39ae (patch)
tree12bfdedab82abacb60ba3fe1e1a9e46989dc4785 /src/manager.h
parent1ceec64c089c796028716c3ef9721ed0f0399569 (diff)
console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from getty.target so that they aren't killed and immediately restarted on runlevel changes. Hence rework the logic to implicitly add console gettys to getty.target as dependencies. This also adds an automatic hvc console for virtualizers. https://bugzilla.redhat.com/show_bug.cgi?id=501720
Diffstat (limited to 'src/manager.h')
-rw-r--r--src/manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/manager.h b/src/manager.h
index e3c6db23bd..6186cb2333 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -140,6 +140,8 @@ struct Manager {
dual_timestamp startup_timestamp;
+ char *console;
+
/* Data specific to the device subsystem */
struct udev* udev;
struct udev_monitor* udev_monitor;
@@ -237,6 +239,8 @@ unsigned manager_dispatch_load_queue(Manager *m);
unsigned manager_dispatch_run_queue(Manager *m);
unsigned manager_dispatch_dbus_queue(Manager *m);
+int manager_set_console(Manager *m, const char *console);
+
int manager_loop(Manager *m);
void manager_dispatch_bus_name_owner_changed(Manager *m, const char *name, const char* old_owner, const char *new_owner);