Disconnect VPN connection when running in background?

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

 



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>




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux