From: miljenko Date: Wed, 11 Jul 2007 12:15:35 +0000 (+0000) Subject: Proc vimageCleanup is used again (instead of cleanupCfg). X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=4cfa9a34cb1a7db90fa4e4296fc26eba4278b437;p=imunes.git Proc vimageCleanup is used again (instead of cleanupCfg). 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: --- diff --git a/exec.tcl b/exec.tcl index 49e02f6..56fb831 100755 --- 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 }