3
0
Fork 0
forked from mirrors/nixpkgs

* Send stderr to /dev/ttyS0 (so that it doesn't pollute the socket

connection).

svn path=/nixos/trunk/; revision=19226
This commit is contained in:
Eelco Dolstra 2010-01-05 11:42:08 +00:00
parent 5af12b6afe
commit 7541141a7a

View file

@ -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 =