openvpn: shellcheck fixes
authorPaul Donald <redacted>
Wed, 11 Mar 2026 18:57:38 +0000 (19:57 +0100)
committerHannu Nyman <redacted>
Sun, 15 Mar 2026 06:45:36 +0000 (08:45 +0200)
commit08bc5a7e9022a2a331684dd836c3daabf6fb54c3
tree368a9f3099769752d0cbcee184f9bf967eb6fbb2
parent4ecd407766f001e368dfdd76b6ecc415e9cfa3b5
openvpn: shellcheck fixes

correct spacing for [] if blocks and var quoting.
use json_get_vars to get user-defined scripts so the
setenv parameters are appended to the command line.

handle ovpnproto as a PROTO_STRING so it is monitored
and loaded.

follow-up to 337a449c03c597b49f2e18a7fd241d8945288e80
and 647b67e18b6bf857e60e4e2e1874fd04d4138586

Signed-off-by: Paul Donald <redacted>
net/openvpn/files/lib/netifd/proto/openvpn.sh
net/openvpn/files/usr/libexec/openvpn-hotplug
git clone https://git.99rst.org/PROJECT