openvpn: Allow override of interface name
authorMichal Hrusecky <michal@hrusecky.net>
Mon, 20 Jul 2020 13:23:07 +0000 (15:23 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 23 Jul 2020 11:10:09 +0000 (13:10 +0200)
commitcdb25bcef3799ae2bee026a51f2f9a4e19da1e5c
tree5b4e15e054ea69ec2f21f952639035a69ddb7f8d
parent8483bf3126583041bd6f5808978dc3b14ad15a1a
openvpn: Allow override of interface name

If using a configuration file for OpenVPN, allow overriding name of the
interface. The reason is that then people could use configuration file
provided by VPN provider directly and override the name of the interface
to include it in correct firewall zone without need to alter the
configuration file.

Signed-off-by: Michal Hrusecky <michal@hrusecky.net>
(cherry picked from commit c93667358515ec078ef4ac96393623ac084e5c9e)
package/network/services/openvpn/Makefile
package/network/services/openvpn/files/openvpn.init