Re: Add resolvd support to net/vpnc-scripts

2021-10-30 Thread Andrew Hewus Fresh
sthen@ suggested that checking whether resolvd is running is better than whether it was enabled, so I adjusted the patch for that. I also now check for the existence of /usr/sbin/rcctl instead of $OS = OpenBSD, since that is more consistent with the things in this section do. (also fixed an

Add resolvd support to net/vpnc-scripts

2021-10-30 Thread Andrew Hewus Fresh
Due to changes to the work laptop I'm a new openconnect user and it turns out it's not too tough to support resolvd in openconnect with a couple new functions in vpnc-script. I don't have any idea if this is the best way to detect if resolvd is in use, but it seems to work in my one test case.