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.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-06-09 17:44:52 +02:00 committed by Jan Nieuwenhuizen
parent 9392652e91
commit 5681ce5074
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 1 deletions

View File

@ -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