Disconnect VPN connection when running in background?

Stuart Luppescu slu at ccsr.uchicago.edu
Sun May 17 19:00:57 PDT 2015


On Sun, 2015-05-17 at 16:53 -0500, Joseph T Bradley wrote:
> Is there a disconnect option, that I can use to disconnect
> openconnect, after I've started it in background mode? I am on Linux
> Mint 17.1, if it matters. Thanks.

I call a little script like this:
#!/bin/bash
kill `ps aux|grep openconnect|grep -v grep|cut -c 10-15`

Don't know if this is the recommended procedure but it works for me.

-- 
Stuart Luppescu <slu at ccsr.uchicago.edu>




More information about the openconnect-devel mailing list