* Fix the waitOnMounts option. For some reason we lost its

implementation.

svn path=/nixos/trunk/; revision=33017
This commit is contained in:
Eelco Dolstra 2012-03-12 14:33:06 +00:00
parent 5fad465261
commit 7f72dead3b
1 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,10 @@ with pkgs.lib;
# Generate a separate job for each tty.
jobs = listToAttrs (map (tty: nameValuePair tty {
startOn = "started udev and filesystem";
startOn =
if config.services.mingetty.waitOnMounts
then "stopped udevtrigger and filesystem"
else "stopped udevtrigger"; # !!! should start as soon as the tty device is created
path = [ pkgs.mingetty ];