[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] systemd: don't reset VT on autologin



agetty --noclear is not enough when systemd is used.
---
 components/0161-systemd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/0161-systemd b/components/0161-systemd
index 6f4d84a..4a5d574 100755
--- a/components/0161-systemd
+++ b/components/0161-systemd
@@ -71,6 +71,7 @@ cat > /etc/systemd/system/getty@tty${NUMBER}.service.d/live-config_autologin.con
 Type=idle
 ExecStart=
 ExecStart=-/sbin/agetty --autologin ${LIVE_USERNAME} --noclear %I 38400 linux
+TTYVTDisallocate=no
 EOF
 
 		done
-- 
1.9.1


Reply to: