install: Use login-service.

* gnu/system/install.scm (installation-services): Use login-service.
This commit is contained in:
David Craven 2016-09-11 18:54:13 +02:00
parent 9f20f7f841
commit 2932ab9ca4
No known key found for this signature in database
GPG Key ID: C5E051C79C0BECDB
1 changed files with 3 additions and 3 deletions

View File

@ -268,21 +268,21 @@ You have been warned. Thanks for being so brave.
")))
(define (normal-tty tty)
(mingetty-service (mingetty-configuration (tty tty)
(motd motd)
(auto-login "root")
(login-pause? #t))))
(list (mingetty-service (mingetty-configuration
(tty "tty1")
(motd motd)
(auto-login "root")))
(login-service (login-configuration
(motd motd)))
;; Documentation. The manual is in UTF-8, but
;; 'console-font-service' sets up Unicode support and loads a font
;; with all the useful glyphs like em dash and quotation marks.
(mingetty-service (mingetty-configuration
(tty "tty2")
(motd motd)
(auto-login "guest")
(login-program (log-to-info))))