diff options
author | t3sserakt <t3ss@posteo.de> | 2023-01-18 10:03:32 +0100 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2023-01-18 10:03:32 +0100 |
commit | 9d6ace0b9d6eae42eecaca542ae62ac30de589f8 (patch) | |
tree | ec02337c773faaad64924c07c431e99ca23350f9 | |
parent | 4aec035eadd8f9d642c24c88ec97a2b9dcee4995 (diff) | |
download | gnunet-9d6ace0b9d6eae42eecaca542ae62ac30de589f8.tar.gz gnunet-9d6ace0b9d6eae42eecaca542ae62ac30de589f8.zip |
TNG: Cleanup after scripts which were running on netjail nodes.
-rwxr-xr-x | contrib/netjail/netjail_stop.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/netjail/netjail_stop.sh b/contrib/netjail/netjail_stop.sh index c8739dc94..55bcf2a5e 100755 --- a/contrib/netjail/netjail_stop.sh +++ b/contrib/netjail/netjail_stop.sh | |||
@@ -43,6 +43,12 @@ for N in $(seq $GLOBAL_N); do | |||
43 | netjail_node_link_bridge_name | 43 | netjail_node_link_bridge_name |
44 | ROUTER_LINKS[$N]=$RESULT | 44 | ROUTER_LINKS[$N]=$RESULT |
45 | 45 | ||
46 | if [ -d /tmp/netjail_scripts ] | ||
47 | then | ||
48 | ip netns exec ${ROUTERS[$N]} ./${R_SCRIPT[$N]} ${ROUTER_NETS[$N]} 0 | ||
49 | rm -rf /tmp/netjail_scripts | ||
50 | fi | ||
51 | |||
46 | netjail_node_unlink_bridge ${ROUTER_LINKS[$N]} | 52 | netjail_node_unlink_bridge ${ROUTER_LINKS[$N]} |
47 | 53 | ||
48 | for M in $(seq $LOCAL_M); do | 54 | for M in $(seq $LOCAL_M); do |