* tty1 needs to be treated specially because of the emergency-shell

job.

svn path=/nixos/trunk/; revision=33018
This commit is contained in:
Eelco Dolstra 2012-03-12 14:42:52 +00:00
parent 7f72dead3b
commit f2870ea7b5

View File

@ -59,7 +59,9 @@ with pkgs.lib;
jobs = listToAttrs (map (tty: nameValuePair tty {
startOn =
if config.services.mingetty.waitOnMounts
# On tty1 we should always wait for mountall, since it may
# start an emergency-shell job.
if config.services.mingetty.waitOnMounts || tty == "tty1"
then "stopped udevtrigger and filesystem"
else "stopped udevtrigger"; # !!! should start as soon as the tty device is created