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:
parent
5af12b6afe
commit
7541141a7a
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue