git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
08bc5a7
)
openvpn: proto handler; handle user config file
author
Paul Donald
<redacted>
Thu, 12 Mar 2026 13:49:01 +0000
(14:49 +0100)
committer
Hannu Nyman
<redacted>
Sun, 15 Mar 2026 06:45:36 +0000
(08:45 +0200)
Handle a user provided config file.
Signed-off-by: Paul Donald <redacted>
net/openvpn/files/lib/netifd/proto/openvpn.sh
patch
|
blob
|
history
diff --git
a/net/openvpn/files/lib/netifd/proto/openvpn.sh
b/net/openvpn/files/lib/netifd/proto/openvpn.sh
index 33ffdcf5a0d5a5cb02b7f707c588ca8ac96c9906..6e83aafac71ad2d70ae2d09ebe5b4db80f59927e 100755
(executable)
--- a/
net/openvpn/files/lib/netifd/proto/openvpn.sh
+++ b/
net/openvpn/files/lib/netifd/proto/openvpn.sh
@@
-128,6
+128,7
@@
proto_openvpn_setup() {
append exec_params " --status /var/run/openvpn.$config.status"
append exec_params " --syslog openvpn_$config"
append exec_params " --tmp-dir /var/run"
+ [ -n "$config_file" ] && append exec_params " --config \"$config_file\""
json_get_var ALLOW_DEPRECATED allow_deprecated
[ -z "$ALLOW_DEPRECATED" ] && ALLOW_DEPRECATED=0
git clone https://git.99rst.org/PROJECT