gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 06/07: TNG: Cleanup after scripts which were running on netjail


From: gnunet
Subject: [gnunet] 06/07: TNG: Cleanup after scripts which were running on netjail nodes.
Date: Wed, 18 Jan 2023 10:50:58 +0100

This is an automated email from the git hooks/post-receive script.

t3sserakt pushed a commit to branch master
in repository gnunet.

commit 9d6ace0b9d6eae42eecaca542ae62ac30de589f8
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Wed Jan 18 10:03:32 2023 +0100

    TNG: Cleanup after scripts which were running on netjail nodes.
---
 contrib/netjail/netjail_stop.sh | 6 ++++++
 1 file changed, 6 insertions(+)

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
     netjail_node_link_bridge_name
     ROUTER_LINKS[$N]=$RESULT
 
+    if [ -d /tmp/netjail_scripts ]
+    then
+        ip netns exec ${ROUTERS[$N]} ./${R_SCRIPT[$N]} ${ROUTER_NETS[$N]} 0
+        rm -rf /tmp/netjail_scripts
+    fi
+
     netjail_node_unlink_bridge ${ROUTER_LINKS[$N]}
     
        for M in $(seq $LOCAL_M); do

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]