Opened 14 years ago
Last modified 14 years ago
#20 closed Bug / Defect
Multiple --up scripts and no error — at Version 1
Reported by: | David Sommerseth | Owned by: | David Sommerseth |
---|---|---|---|
Priority: | minor | Milestone: | beta 2.2 |
Component: | Configuration | Version: | OpenVPN 2.1.0 / 2.1.1 (Community Ed) |
Severity: | Patch Queue: In progress | Keywords: | |
Cc: |
Description (last modified by )
Transferred from: http://sourceforge.net/tracker/?func=detail&aid=2078470&group_id=48978&atid=454719
It seems that openvpn doesn't allow multiple --up (probably --down, too) scripts in configuration file.
The problem is that if multiple up scripts are placed in configuration only one is run but unfortunately openvpn doesn't issue error message about duplicated entries.
There are two solutions:
1) issue error message if duplication happens
2) implement support for running multiple scripts with multiple "up" commands (just like multiple route commands are allowed). This one is prefered :-)
Response from janjust:
option 1 sounds like a good idea but then it would have to apply to *all*
options; if we do that then it becomes annoying to overrule a config file
option with a command-line option ...
option 2 is not an option.
Opinions?