chadw75 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

Execute custom up script when "Set Nameserver" is active #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use custom up script in config.
2. Active "Set Nameserver" in Tunnelblick.
3. Custom script will not be executed.

What is the expected output? What do you see instead?
The client.up.osx.sh script should check if the config contains another up
script. If there is one, it should be executed. The same applies for the
down script.

What version of Tunnelblick are you using? On what version of OS X? PPC or
Intel?
Tunnelblick 3.0b10 on OS X 10.5.6 using Intel Macbook.

Original issue reported on code.google.com by dbert...@gmail.com on 22 Apr 2009 at 8:43

GoogleCodeExporter commented 9 years ago
You can work around this by including code from the standard TB up/down scripts 
in your own scripts and 
leaving "Set Nameserver" unchecked.

There is a conceptual problem with running custom scripts while still using the 
standard TB up/down scripts: 
the TB down script assumes that OpenVPN's "down-pre" option is NOT being used 
and that may not be true of 
custom scripts. (The "down-pre" option changes the timing of the call to the 
down script.) 

Original comment by jkbull...@gmail.com on 21 Jul 2009 at 12:17

GoogleCodeExporter commented 9 years ago

Original comment by jkbull...@gmail.com on 30 Aug 2009 at 12:15