pritunl-client icon indicating copy to clipboard operation
pritunl-client copied to clipboard

Update resolvconf in shell platform

Open skeggse opened this issue 5 years ago • 0 comments

pritunl-client currently only updates resolvconf/systemd-resolve in graphical mode. This PR contains proof-of-content support for the shell platform.

Note that this duplicates logic from __main__.py, which is suboptimal. I'm not super familiar with the structure of this package, and don't see a good place to migrate the common code to that doesn't introduce a new module.

I'm also not sure what the purpose of these arguments passed to OpenVPN are, and seeing as they aren't passed in the existing shell platform I omitted them. They might need to be re-introduced.

skeggse avatar May 16 '19 16:05 skeggse