summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-14 19:57:18 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-14 19:57:18 +0100
commit6a3b1508f7a9c8ecf712beb44baa13f252f0d3d8 (patch)
treed257d7b7aa2a95132a7abf4e89ee3dfc9e0135a8 /src/manager.c
parent079a09fbf79050c0794bac0f87d3600ffd5b9db2 (diff)
getty: don't parse console= anymore, use /sys/class/tty/console/active instead
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/manager.c b/src/manager.c
index 4a8408212a..92b274590b 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -461,7 +461,6 @@ void manager_free(Manager *m) {
#endif
free(m->notify_socket);
- free(m->console);
lookup_paths_free(&m->lookup_paths);
strv_free(m->environment);
@@ -2783,22 +2782,6 @@ void manager_reset_failed(Manager *m) {
unit_reset_failed(u);
}
-int manager_set_console(Manager *m, const char *console) {
- char *c;
-
- assert(m);
-
- if (!(c = strdup(console)))
- return -ENOMEM;
-
- free(m->console);
- m->console = c;
-
- log_debug("Using kernel console %s", c);
-
- return 0;
-}
-
bool manager_unit_pending_inactive(Manager *m, const char *name) {
Unit *u;