diff options
author | Reto Buerki <reet@codelabs.ch> | 2012-12-09 21:03:29 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 16:54:55 +0100 |
commit | aba43136c262151b3f213a2253eddc62a07c7e88 (patch) | |
tree | 5518b1ed7e6082aeb3adb7f1c723cb80d92346b5 /testing/scripts/function.sh | |
parent | 345dba0de42450627ca0e643f30ab6330964bc3a (diff) | |
download | strongswan-aba43136c262151b3f213a2253eddc62a07c7e88.tar.bz2 strongswan-aba43136c262151b3f213a2253eddc62a07c7e88.tar.xz |
Drop now obsolete UML helper functions
Diffstat (limited to 'testing/scripts/function.sh')
-rwxr-xr-x | testing/scripts/function.sh | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/testing/scripts/function.sh b/testing/scripts/function.sh index 649e32b65..a0afee83e 100755 --- a/testing/scripts/function.sh +++ b/testing/scripts/function.sh @@ -184,47 +184,3 @@ function searchandreplace { done } - -############################################# -# add a bridge -# - -function umlbr_add { - brctl addbr "umlbr$1" - brctl setfd "umlbr$1" 0 - brctl setageing "umlbr$1" 3600 - brctl stp "umlbr$1" off - ifconfig "umlbr$1" "$2" netmask "$3" up -} - -############################################# -# delete a bridge -# - -function umlbr_del { - ifconfig "umlbr$1" down &> /dev/null 2>&1 - brctl delbr "umlbr$1" &> /dev/null 2>&1 -} - -############################################# -# add a tap interface to a bridge -# - -function umlbr_add_tap { - tunctl -t "tap$1_$2" &> /dev/null 2>&1 - ifconfig "tap$1_$2" 0.0.0.0 promisc up &> /dev/null 2>&1 - brctl addif "umlbr$1" "tap$1_$2" &> /dev/null 2>&1 - cecho-n "$2.." - } - -############################################# -# delete a tap interface from a bridge -# - -function umlbr_del_tap { - ifconfig "umlbr$2" down &> /dev/null 2>&1 - brctl delif "umlbr$1" "tap$1_$2" &> /dev/null 2>&1 - tunctl -d "tap$1_$2" &> /dev/null 2>&1 - cecho-n "$2.." - } - |