[kmscon-devel] [PATCH] systemd: take over for autovt@ when enabled

Tom Gundersen teg at jklm.no
Mon Jul 22 05:21:17 PDT 2013


---
 docs/kmsconvt at .service | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/docs/kmsconvt at .service b/docs/kmsconvt at .service
index 7b64823..f1084b4 100644
--- a/docs/kmsconvt at .service
+++ b/docs/kmsconvt at .service
@@ -4,10 +4,7 @@
 # spawns KMSCON on this VT. Note that this does automatically limit KMSCON to
 # seat0. You cannot spawn KMSCON on other seats with this unit.
 #
-# You can replace the default getty at .service that is shipped with systemd by
-# linking it with:
-#   ln -s /usr/lib/systemd/system/kmsconvt at .service /etc/systemd/system/autovt at .service
-# This will make systemd start KMSCON instead of agetty on each VT. Or more
+# When enabled, systemd will start KMSCON instead of agetty on each VT. Or more
 # precisely, this will make systemd-logind use kmsconvt at .service instead of
 # getty at .service for new VTs. In fact, all other units/scripts/... that use
 # getty at .service will not be affected by this change.
@@ -45,4 +42,5 @@ TTYVHangup=yes
 TTYVTDisallocate=yes
 
 [Install]
+Alias=autovt at .service
 WantedBy=getty.target
-- 
1.8.3.3



More information about the kmscon-devel mailing list