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:
a5b3ecf
)
openvpn: fix auth_user_pass option
author
Florian Eckert
<redacted>
Thu, 5 Mar 2026 08:08:34 +0000
(09:08 +0100)
committer
Florian Eckert
<redacted>
Wed, 11 Mar 2026 13:22:41 +0000
(14:22 +0100)
The variable 'auth_file' is not used in the following programm sequence.
It therefore only makes sense to add it as a call parameter via 'append'
when calling the the 'proto_run_commmand'.
Signed-off-by: Florian Eckert <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 7a8da999bdb326a5541f2ca435460252064c604f..b94a80d573918b1f7f0678b15ee38c43a25a9125 100755
(executable)
--- a/
net/openvpn/files/lib/netifd/proto/openvpn.sh
+++ b/
net/openvpn/files/lib/netifd/proto/openvpn.sh
@@
-139,7
+139,7
@@
proto_openvpn_setup() {
umask 022
append exec_params " --auth-user-pass $auth_file"
elif [ -n "$auth_user_pass" ]; then
- a
uth_file="
$auth_user_pass"
+ a
ppend exec_params " --auth-user-pass
$auth_user_pass"
fi
# shellcheck disable=SC2154
git clone https://git.99rst.org/PROJECT