packages/net/openvpn/files
Erik Conijn 7735cdfe60 Openvpn: add missing script event options
Maintainer: @mkrkn  @neheb
Compile tested: aarch64, cortex-a53, OpenWRT Master
Run tested: Dynalink DL-WRX36

Description:
[A previous commit](f8a8b71e26) has added more script event options.
However it looked like that commit was not complete as it stops the use of the script events route-up, route-pre-down, and ipchange when those are placed in the openvpn config file.

This PR fixes a regression that makes it problematic to specify certain event options in the OpenVPN configuration file.

Discussion in [this thread](https://forum.openwrt.org/t/openvpn-custom-route-up-script-in-23-05-rc2/167105/13) and [here](https://forum.openwrt.org/t/openvpn-route-up-and-route-pre-down-broken-in-23-05/176568)

Please have a look and consider implementing or make it possible to use all script event options in the openvpn config file in another way.

Pull request has been discussed and improved with the help of @AuthorReflex, see: https://github.com/openwrt/packages/pull/21732

Signed-off-by: Erik Conijn <egc112@msn.com>
2024-01-02 15:27:52 -08:00
..
etc Openvpn: add missing script event options 2024-01-02 15:27:52 -08:00
lib/functions openvpn: fix invoking user up & down commands from hotplug wrapper 2021-04-01 07:20:03 -04:00
usr/libexec openvpn: import from base 2020-12-01 12:37:37 -08:00
openvpn.config openvpn: enable LZO support by default for OpenSSL variant 2021-07-12 23:47:12 -04:00
openvpn.init Openvpn: add missing script event options 2024-01-02 15:27:52 -08:00
openvpn.options openvpn: update to 2.6.5 and add DCO support 2023-07-24 22:50:06 -07:00
openvpn.upgrade openvpn: import from base 2020-12-01 12:37:37 -08:00