alfredopalhares / openvpn-update-resolv-conf

Script that updates DNS settings are pushed by the OpenVPN server
462 stars 129 forks source link

Added script with systemd-networkd support #7

Closed WGH- closed 8 years ago

WGH- commented 8 years ago

The trick is to create a network configuration file in volatile runtime network directory (/run/systemd/network) and then restart systemd-networkd, so it can reload global DNS settings.

alfredopalhares commented 8 years ago

Hello @WGH-

Thanks for the contribution. I don't use systemd networking directly, but I think this is a nice addition. Could you also update the PKGBUILD to install the script?

WGH- commented 8 years ago

I'm afraid not. I don't use whatever distro that uses PKGBUILD system and have no clue how it works.

alfredopalhares commented 8 years ago

Hello @WGH- thank you for you contribution.

Will add another pull request later on improve on this one.

WGH- commented 8 years ago

Oh well, it's broken since systemd 228. I'll submit another pull request once I figure out how to fix it.

alfredopalhares commented 8 years ago

That would be appreciated :+1: On Mar 3, 2016 10:04 AM, "WGH-" notifications@github.com wrote:

Oh well, it's broken since systemd 228. I'll submit another pull request once I figure out how to fix it.

— Reply to this email directly or view it on GitHub https://github.com/masterkorp/openvpn-update-resolv-conf/pull/7#issuecomment-191690739 .