summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2020-11-01 11:16:08 -0500
committerMark H Weaver <mhw@netris.org>2020-11-11 00:21:22 -0500
commite3ae31347882b25e1513e4475616fb6e4497e280 (patch)
tree7fdba37b4bf39a87fd2d5effb2697c37d290fc19 /doc
parentd71f9e6f1611e8be13f89379ed4d1b32f72e5e50 (diff)
downloadguix-e3ae31347882b25e1513e4475616fb6e4497e280.tar.gz
gnu: mingetty-shepherd-service: Make 'clear-on-logout' configurable.
Also change the default configuration to clear on logout, which is the
upstream default.

* gnu/services/base.scm (<mingetty-configuration>): Add 'clear-on-logout?'
field.
(mingetty-shepherd-service): Pass the "--noclear" option to mingetty only if
'clear-on-logout?' is #false.
* doc/guix.texi (Base Services): Document the 'clear-on-logout?' field.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 35bf5177e6..eb0f47a6af 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -14528,6 +14528,9 @@ the name of the log-in program.
 When set to @code{#t} in conjunction with @var{auto-login}, the user
 will have to press a key before the log-in shell is launched.
 
+@item @code{clear-on-logout?} (default: @code{#t})
+When set to @code{#t}, the screen will be cleared after logout.
+
 @item @code{mingetty} (default: @var{mingetty})
 The Mingetty package to use.