Revert accidental commit

This commit is contained in:
Eelco Dolstra 2012-08-06 15:53:04 -04:00
parent d33fd9a1f8
commit 23947c26a8

View File

@ -2,18 +2,6 @@
with pkgs.lib;
let
issueFile = pkgs.writeText "issue" ''
${config.services.mingetty.greetingLine}
xyzzy6
${config.services.mingetty.helpLine}
'';
in
{
###### interface
@ -91,7 +79,7 @@ in
[Service]
Environment=TERM=linux
Environment=LOCALE_ARCHIVE=/run/current-system/sw/lib/locale/locale-archive
ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --noclear -f ${issueFile} --login-program ${pkgs.shadow}/bin/login %I 38400
ExecStart=@${pkgs.utillinux}/sbin/agetty agetty --noclear --login-program ${pkgs.shadow}/bin/login %I 38400
Type=idle
Restart=always
RestartSec=0
@ -107,7 +95,7 @@ in
# instead, to ensure that login terminates cleanly.
KillSignal=SIGHUP
'';
boot.systemd.units."serial-getty@.service".text =
''
[Unit]
@ -143,7 +131,12 @@ in
environment.etc = singleton
{ # Friendly greeting on the virtual consoles.
source = issueFile;
source = pkgs.writeText "issue" ''
${config.services.mingetty.greetingLine}
${config.services.mingetty.helpLine}
'';
target = "issue";
};