From cd9e5d0a7697b3ccbc4dcb04444e6b42f5d309d1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 28 Jun 2011 18:16:00 +0200 Subject: logind: activate autovt@.service instead of autovt-getty@.service when the user switches to a previously unused tty, since it doesn't have to be a getty we start on it on demand --- src/logind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/logind.c b/src/logind.c index 8fa7661290..a0a89c0689 100644 --- a/src/logind.c +++ b/src/logind.c @@ -729,7 +729,7 @@ int manager_spawn_autovt(Manager *m, int vtnr) { goto finish; } - if (asprintf(&name, "autovt-getty@tty%i.service", vtnr) < 0) { + if (asprintf(&name, "autovt@tty%i.service", vtnr) < 0) { log_error("Could not allocate service name."); r = -ENOMEM; goto finish; -- cgit v1.2.3-54-g00ecf