From b2bb3dbed9607c440b1a9ccacc515e28136d39ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 30 Aug 2010 21:31:40 +0200 Subject: 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 --- src/special.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/special.h') diff --git a/src/special.h b/src/special.h index 7bf207053c..0cc5cc647b 100644 --- a/src/special.h +++ b/src/special.h @@ -59,6 +59,8 @@ #define SPECIAL_POWEROFF_TARGET "poweroff.target" #define SPECIAL_REBOOT_TARGET "reboot.target" #define SPECIAL_DBUS_SERVICE "dbus.service" +#define SPECIAL_GETTY_TARGET "getty.target" +#define SPECIAL_SERIAL_GETTY_SERVICE "serial-getty@.service" #ifndef SPECIAL_SYSLOG_SERVICE #define SPECIAL_SYSLOG_SERVICE "syslog.service" -- cgit v1.2.3-54-g00ecf