Attention is currently required from: osmith.

osmith uploaded patch set #2 to this change.

View Change

net: run.sh: store all spawned pids in files

Replace the previous approach of only storing the PIDs of the spawned
terminals, and then attempting to kill all other processes (the ones
running inside the spawned terminals and tcpdump) with "killall".
Instead, store PIDs of all spawned programs:
* Terminals
* Osmocom programs (new)
* Tcpdump (new)

Kill old processes at the start of run.sh as well, so even if run.sh was
killed before it could clean up, the Osmocom programs don't fail to
start anymore (as it was the case before).

Change-Id: I379ef71de2f1ab0ac4a28064e5cf9e275c4c61e9
---
M net/templates/run.sh
1 file changed, 79 insertions(+), 57 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/34/27034/2

To view, visit change 27034. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I379ef71de2f1ab0ac4a28064e5cf9e275c4c61e9
Gerrit-Change-Number: 27034
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de>
Gerrit-Attention: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newpatchset