From e91c6ea1ce01842b20b5e5fd9cc61c0fe3248312 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 30 Dec 2011 16:57:39 +0000 Subject: modules/system/upstart-events/shutdown.nix: refer to bash binary with full path Upstart won't find a "bash" binary in $PATH when those commands are run, so we refer to it using an absolute path. svn path=/nixos/trunk/; revision=31157 --- modules/system/upstart-events/shutdown.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/upstart-events/shutdown.nix b/modules/system/upstart-events/shutdown.nix index 78d848df6639..8aa794378ed3 100644 --- a/modules/system/upstart-events/shutdown.nix +++ b/modules/system/upstart-events/shutdown.nix @@ -136,7 +136,7 @@ with pkgs.lib; echo Enter 'i' to launch a shell, or wait 10 seconds to continue. read -t 10 A if [ "$A" == "i" ]; then - bash -i < /dev/console &> /dev/console + ${pkgs.bashInteractive}/bin/bash -i < /dev/console &> /dev/console fi sleep 5 fi -- cgit 1.4.1