From: Josip Rodin Date: Sun, 13 Sep 2009 13:49:22 +0000 (+0200) Subject: indentation fix X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=0eb830bef0a70688e01533be71da4745b1500571;p=imunes.git indentation fix --- 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 ""