Soft'N'Design Software
/
projects
/
ulvpn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8fadbb
)
kill all proccesses
author
Mazet Laurent
<laurent.mazet@thalesgroup.com>
Thu, 12 Jun 2025 13:48:19 +0000
(15:48 +0200)
committer
Mazet Laurent
<laurent.mazet@thalesgroup.com>
Thu, 12 Jun 2025 13:48:19 +0000
(15:48 +0200)
test.sh
patch
|
blob
|
blame
|
history
diff --git
a/test.sh
b/test.sh
index a77c5fc9a95bbe395b90be04d59ae3398dc2a2fa..53e5f9146103e8f6704d72dae8dea54ff65b124a 100755
(executable)
--- a/
test.sh
+++ b/
test.sh
@@
-80,6
+80,8
@@
pids="$pids $!"
sleep 4
for p in $pids; do
+ echo killing $p
+ pkill -TERM -P $p 2>/dev/null
kill -TERM $p 2>/dev/null
done
ip addr del dev eth0 10.1.0.1/24 && ip link del eth0 type dummy || echo no need to remove eth0