SHA256
1
0
forked from pool/systemd
systemd/fix-tty-startup.patch

41 lines
1.2 KiB
Diff
Raw Normal View History

From d55248d6a6f69f3b6c86cfc0d11aff8831590a4f Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Thu, 12 Apr 2012 17:29:42 +0200
Subject: [PATCH] getty: VC devices are always available, we don't need to
wait until they show up
---
src/99-systemd.rules.in | 1 -
units/getty@.service.m4 | 3 +--
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/99-systemd.rules.in b/src/99-systemd.rules.in
index d306f71..8cc7523 100644
--- a/src/99-systemd.rules.in
+++ b/src/99-systemd.rules.in
@@ -7,7 +7,6 @@
ACTION=="remove", GOTO="systemd_end"
-SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*", TAG+="systemd"
KERNEL=="vport*", TAG+="systemd"
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index a02838d..c397a4d 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -7,8 +7,7 @@
[Unit]
Description=Getty on %I
-BindTo=dev-%i.device
-After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+After=systemd-user-sessions.service plymouth-quit-wait.service
m4_ifdef(`TARGET_FEDORA',
After=rc-local.service
)m4_dnl
--
1.7.7