From 92904dcc69ab0f3256c5559a65f18f04eb46b0f8 Mon Sep 17 00:00:00 2001 From: miljenko Date: Mon, 5 Dec 2005 11:28:33 +0000 Subject: [PATCH] Removed boot.conf file format compatibility problems (CR/LF translation) Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- exec.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exec.tcl b/exec.tcl index 569b009..d9d16c8 100755 --- a/exec.tcl +++ b/exec.tcl @@ -467,13 +467,12 @@ proc deployCfg {} { } else { nexec nc -l -p 1235 > /tmp/tmp_boot_conf & set s [socket $exec_host 1235] - fconfigure $s -buffering line + fconfigure $s -buffering line -translation lf foreach line $bootcfg { puts $s $line } flush $s close $s - catch "nexec tr -d '\012' < /tmp/temp_boot_conf > /tmp/$node_id/boot.conf" } catch "nexec vimage $node_id $bootcmd /tmp/$node_id/boot.conf &" } -- 2.39.5