X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Futil%2Fnat_destroy.sh;fp=test%2Fblackbox%2Futil%2Fnat_destroy.sh;h=0000000000000000000000000000000000000000;hb=2d38bcd7378c1237d95e9465f2b0dab74453f456;hp=2fa0f20fe22ffd5b27a3d5545c92ad451cff92ef;hpb=196b0da2cb6b4973c4d92afecb0b481c560d36a5;p=meshlink-tiny diff --git a/test/blackbox/util/nat_destroy.sh b/test/blackbox/util/nat_destroy.sh deleted file mode 100755 index 2fa0f20..0000000 --- a/test/blackbox/util/nat_destroy.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -router=${1} -router_bridge="${1}_bridge" - -echo + Stopping router...... -lxc-stop -n ${router} - -echo + Removing NATs bridge.... - -ifconfig ${router_bridge} down - -brctl delbr ${router_bridge} - -echo + Destroing the routers..... - -lxc-destroy -n ${router} >> /dev/null