From 7541141a7ac8af26d8a3abb4651e75f235e24de5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 5 Jan 2010 11:42:08 +0000 Subject: [PATCH] * Send stderr to /dev/ttyS0 (so that it doesn't pollute the socket connection). svn path=/nixos/trunk/; revision=19226 --- modules/testing/test-instrumentation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/testing/test-instrumentation.nix b/modules/testing/test-instrumentation.nix index da664793a4c..2dd1a90b966 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -18,7 +18,7 @@ with pkgs.lib; echo "===UP===" > dev/ttyS0 ''; - exec = "${pkgs.socat}/bin/socat tcp-listen:514,fork exec:/bin/sh,stderr"; + exec = "${pkgs.socat}/bin/socat tcp-listen:514,fork exec:/bin/sh 2> /dev/ttyS0"; }; boot.postBootCommands =