From 7f72dead3b932d7f3379f71faca3b2e8c2c5dbba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Mar 2012 14:33:06 +0000 Subject: [PATCH] * Fix the waitOnMounts option. For some reason we lost its implementation. svn path=/nixos/trunk/; revision=33017 --- modules/services/ttys/mingetty.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/services/ttys/mingetty.nix b/modules/services/ttys/mingetty.nix index 5a86dada1f2..d6fffea299e 100644 --- a/modules/services/ttys/mingetty.nix +++ b/modules/services/ttys/mingetty.nix @@ -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 ];