You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Florian Eckert 8fe9940db6 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>
4 years ago
..
etc openvpn: add generic hotplug mechanism 4 years ago
usr/libexec openvpn: add generic hotplug mechanism 4 years ago
openvpn.config openvpn: update to 2.4_rc2 8 years ago
openvpn.init openvpn: add generic hotplug mechanism 4 years ago
openvpn.options openvpn: add generic hotplug mechanism 4 years ago
openvpn.upgrade openvpn: add from openvpn-devel from /packages, fix support for current polarssl 11 years ago