]> git.entuzijast.net Git - imunes.git/commitdiff
indentation fix
authorJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 13:49:22 +0000 (15:49 +0200)
committerJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 13:49:22 +0000 (15:49 +0200)
linux/exec.tcl

index c88136781028e2d1a8a75af8bd626ca36e7c6215..98f846108652f2b9fe4b723c5f6efd784e24b04e 100755 (executable)
@@ -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 ""