From 0eb830bef0a70688e01533be71da4745b1500571 Mon Sep 17 00:00:00 2001 From: Josip Rodin Date: Sun, 13 Sep 2009 15:49:22 +0200 Subject: [PATCH] indentation fix --- linux/exec.tcl | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/linux/exec.tcl b/linux/exec.tcl index c881367..98f8461 100755 --- a/linux/exec.tcl +++ b/linux/exec.tcl @@ -441,27 +441,26 @@ proc l3node.start { eid node } { set check [info exists viewcustomid] if { $check == 0 } { - set viewcustomid generic + set viewcustomid generic } if { [getCustomEnabled $node] == true } { - set customCfg "" - set customCfgList "" - set customCfgList [getCustomConfig $node] - foreach element $customCfgList { - set cid [lindex [lsearch -inline $element "custom-config-id *"] 1] - if { $cid == $viewcustomid } { - set customCfg $element - } - } - if { $customCfg == "" } { - set customCfg [lindex $customCfgList 0] - } - - set bootcmd [getConfig $customCfg "custom-command"] - set bootcfg [getConfig $customCfg "config"] + set customCfg "" + set customCfgList "" + set customCfgList [getCustomConfig $node] + foreach element $customCfgList { + set cid [lindex [lsearch -inline $element "custom-config-id *"] 1] + if { $cid == $viewcustomid } { + set customCfg $element + } + } + if { $customCfg == "" } { + set customCfg [lindex $customCfgList 0] + } + set bootcmd [getConfig $customCfg "custom-command"] + set bootcfg [getConfig $customCfg "config"] } else { - set bootcmd "" - set bootcfg "" + set bootcmd "" + set bootcfg "" } set ipsecCfg "" -- 2.39.5