immortalwrt/package/network/services/openvpn
Florian Eckert 313df56ae2 openvpn: add generic hotplug mechanism
Pass a default --up and --down executable to each started OpenVPN instance
which triggers /etc/hotplug.d/openvpn/ scripts whenever an instance
goes up or down.

User-configured up and down scripts are invoked by the default shipped
01-user hotplug handler to ensure that existing setups continue to work
as before.

As a consequence of this change, the up, down and script_security OpenVPN
options are removed from the option file, since we're always passing them
via the command line, they do not need to get included into the generated
configuration.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[reword commit message, move hotplug executable to /usr/libexec]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-06-18 08:05:10 +08:00
..
files openvpn: add generic hotplug mechanism 2020-06-18 08:05:10 +08:00
patches openvpn: update to 2.4.9 2020-04-19 19:56:35 +08:00
Config-mbedtls.in fix permission 2019-09-30 14:27:46 +08:00
Config-nossl.in fix permission 2019-09-30 14:27:46 +08:00
Config-openssl.in fix permission 2019-09-30 14:27:46 +08:00
Makefile openvpn: add generic hotplug mechanism 2020-06-18 08:05:10 +08:00