]> git.entuzijast.net Git - imunes.git/commitdiff
Proc vimageCleanup is used again (instead of cleanupCfg).
authormiljenko <miljenko>
Wed, 11 Jul 2007 12:15:35 +0000 (12:15 +0000)
committermiljenko <miljenko>
Wed, 11 Jul 2007 12:15:35 +0000 (12:15 +0000)
It is faster to remove everything. Proc cleanupCfg should
be used for multi user/experiment environments that are
not supported in this version.

Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

exec.tcl

index 49e02f6a8dc1bcfa090cf93435488d0c1e3be2ef..56fb8316613b180c55cbf8495f3dd9f1ae671400 100755 (executable)
--- a/exec.tcl
+++ b/exec.tcl
@@ -1,4 +1,4 @@
-# $Id: exec.tcl,v 1.46.2.2 2007/05/07 08:20:09 ana Exp $ 
+# $Id: exec.tcl,v 1.46.2.3 2007/07/11 12:15:35 miljenko Exp $ 
 
 # Copyright 2004, 2005 University of Zagreb, Croatia.  All rights reserved.
 #
@@ -205,8 +205,11 @@ proc setOperMode { mode } {
        }
     } else {
        if {$oper_mode != "edit"} {
-           #vimageCleanup
-           cleanupCfg
+            # it is faster to remove everything
+           vimageCleanup
+            # cleanupCfg is used for multi user/experiment 
+            # environments (not supported in this version)
+           #cleanupCfg
            .menubar.tools entryconfigure "Auto rearrange all" -state normal
            .menubar.tools entryconfigure "Auto rearrange selected" -state normal
        }
@@ -551,8 +554,11 @@ proc deployCfg {} {
 
     set t_start [clock seconds]
 
-    #vimageCleanup
-    cleanupCfg
+    # it is faster to remove everything
+    vimageCleanup
+    # cleanupCfg is used for multi user/experiment 
+    # environments (not supported in this version)
+    #cleanupCfg
 
     catch { nexec mv /etc/resolv.conf /etc/resolv.conf.bak }
     catch { nexec kldload ng_ether }