summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-06-09 17:44:52 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2020-06-09 17:59:56 +0200
commit5681ce50745203c4ee3a469f1b9bb0a24c4090fb (patch)
tree7d5c066f7a0c2606c3c7630ec6a760948b0606b7 /gnu/system.scm
parent9392652e911b3963ef0f52f39677a6fc953f1e1e (diff)
services: etc: Add '/etc/ttys' symlink for the Hurd.
Reported by Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com> via IRC. * gnu/system.scm (operating-system-etc-service): For the Hurd, add '/etc/ttys' symlink. This fixes terminal behavior in the console by setting TERM=hurd.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 081e0f2fb3..d51691fe76 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -847,7 +847,8 @@ fi\n")))
,@(if sudoers `(("sudoers" ,sudoers)) '())
,@(if hurd
`(("login" ,(file-append hurd "/etc/login"))
- ("motd" ,(file-append hurd "/etc/motd")))
+ ("motd" ,(file-append hurd "/etc/motd"))
+ ("ttys" ,(file-append hurd "/etc/ttys")))
'())))))
(define %root-account