]> git.entuzijast.net Git - imunes.git/commitdiff
Removed boot.conf file format compatibility problems (CR/LF translation)
authormiljenko <miljenko>
Mon, 5 Dec 2005 11:28:33 +0000 (11:28 +0000)
committermiljenko <miljenko>
Mon, 5 Dec 2005 11:28:33 +0000 (11:28 +0000)
Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

exec.tcl

index 569b009a6380bf346c09e0d9840cd1ef0ecf01a1..d9d16c8a959f912e781becb5e798750c042eed60 100755 (executable)
--- 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 &"
        }