Openwrt/package/network/services/openvpn/files
Jo-Philipp Wich b92f54b919 openvpn: fix arguments passing to wrapped up and down scripts
With the introduction of the generic OpenVPN hotplug mechanism, wrapped
--up and --down scripts got the wrong amount and order of arguments passed,
breaking existing configurations and functionality.

Fix this issue by passing the same amount of arguments in the same expected
order as if the scripts were executed by the OpenVPN daemon directly.

Ref: https://github.com/openwrt/openwrt/pull/1596#issuecomment-668935156
Fixes: 8fe9940db6 ("openvpn: add generic hotplug mechanism")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-08-06 08:34:31 +02:00
..
etc openvpn: fix arguments passing to wrapped up and down scripts 2020-08-06 08:34:31 +02:00
lib/functions
usr/libexec
openvpn.config openvpn: revise sample configuration 2020-08-01 14:54:39 +01:00
openvpn.init openvpn: Allow override of interface name 2020-07-23 13:10:09 +02:00
openvpn.options
openvpn.upgrade