mingetty: Don't make restartIfChanged optional

This commit is contained in:
Shea Levy 2012-08-12 11:44:00 -04:00
parent d809a9e6b2
commit 85997a6692

View File

@ -46,14 +46,6 @@ with pkgs.lib;
'';
};
dontRestart = mkOption {
default = false;
description = ''
Don't restart mingetty processes as this will result in active
sessions to be logged out, for example on activation of the system's
configuration.
'';
};
};
};
@ -77,7 +69,7 @@ with pkgs.lib;
exec = "mingetty --loginprog=${pkgs.shadow}/bin/login --noclear ${tty}";
restartIfChanged = !config.services.mingetty.dontRestart;
restartIfChanged = false;
environment.LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";