]> git.entuzijast.net Git - imunes.git/commitdiff
nepotrebno
authorJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 13:26:48 +0000 (15:26 +0200)
committerJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 13:26:48 +0000 (15:26 +0200)
bridge_cleanup.sh [deleted file]
linux/exec.tcl

diff --git a/bridge_cleanup.sh b/bridge_cleanup.sh
deleted file mode 100755 (executable)
index 2ae6f5f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-# TODO: ili prepisatu u tcl ili korigirati tako da ignorira prvi red
-
-echo "\nBridge cleanup..."
-
-BRIDGES=`brctl show | grep -v interfaces | awk '{print $1}'`
-broj=`brctl show | grep -v -c interfaces`
-echo "  #Bridges: $broj"
-
-for bridge in $BRIDGES; do 
-    echo "  Cleaning \"$bridge\" ..."
-       sudo ifconfig $bridge down; 
-       sudo brctl delbr $bridge; 
-done
-echo "  Done."
index 270db41d3115515927a7262cfef908c81d57de98..c88136781028e2d1a8a75af8bd626ca36e7c6215 100755 (executable)
@@ -976,7 +976,6 @@ proc vimageCleanup { eid } {
     puts "  Done."
 
        puts "\nBridge cleanup in main host"
-#    catch { nexec ./bridge_cleanup.sh }
        upvar 0 ::cf::[set ::curcfg]::bridges bridges
        if { [ llength $bridges ] } {
                foreach bridge $bridges {