wmdiem
Results
2
comments of
wmdiem
xargs + killall with a list of command names seems like the simplest way to do this off the top of my head. The problem would be getting a trigger....
VPNdemon relies on networkmanager to detect when the tunnel interface goes down, so if you are aiming for portability you'll need to find a cross platform method. I had thought...