From 0ddd147cfc26d84cb2ff70c3de20c5ece0d2abc2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 4 Oct 2012 23:25:33 -0400 Subject: [PATCH] headless.nix: Mountall is gone --- modules/profiles/headless.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/modules/profiles/headless.nix b/modules/profiles/headless.nix index 204980e9211b..ac0c4059634e 100644 --- a/modules/profiles/headless.nix +++ b/modules/profiles/headless.nix @@ -14,15 +14,4 @@ with pkgs.lib; # Since we can't manually respond to a panic, just reboot. boot.kernelParams = [ "panic=1" "stage1panic=1" ]; - - # Since we don't have an (interactive) console, disable the - # emergency shell (started if mountall fails). - jobs."mount-failed".script = mkOverride 50 - '' - ${pkgs.utillinux}/bin/logger -p user.emerg -t mountall "filesystem ‘$DEVICE’ could not be mounted on ‘$MOUNTPOINT’" - ''; - - # Likewise, redirect mountall output from the console to the default - # Upstart job log file. - jobs."mountall".console = mkOverride 50 ""; }