Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execute script to update mac system dns servers after openvpn connect… #136

Merged
merged 2 commits into from Feb 2, 2018

Conversation

Projects
None yet
2 participants
@zolia
Copy link
Member

commented Feb 2, 2018

3 executables needs to be shipped in neighbourhood:

  • mysterium_client
  • openvpn
  • update-resolv-conf
@@ -39,6 +40,11 @@ func (c *Config) SetManagementSocket(socketAddress string) {
c.setFlag("management-client")
}

func (c *Config) SetScripts(runtimeDirectory string) {
c.setParam("up", filepath.Join(runtimeDirectory, "update-resolv-conf"))

This comment has been minimized.

Copy link
@Waldz

Waldz Feb 2, 2018

Member

Call this script relativelly as update-resolv-conf:

  • Will be searched in neighbourhood
  • Will be searched in PATH
@Waldz

Waldz approved these changes Feb 2, 2018

@Waldz Waldz merged commit 0e09e94 into master Feb 2, 2018

@Waldz Waldz deleted the feature/MYST-300-update-system-dns branch Feb 2, 2018

@zolia zolia restored the feature/MYST-300-update-system-dns branch Feb 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.