This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
openconnect: break each var into its own line in order
For easier review Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou
4 years ago
parent
d6d9376141
commit
fce2b069df
1 changed files
with
18 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+18
-1
net/openconnect/files/openconnect.sh
+ 18
- 1
net/openconnect/files/openconnect.sh
View File
@ -39,7 +39,24 @@ proto_openconnect_add_form_entry() {
proto_openconnect_setup
(
)
{
local
config
=
"
$1
"
json_get_vars server port interface username serverhash authgroup usergroup password password2 token_mode token_secret token_script os csd_wrapper mtu juniper form_entry
json_get_vars
\
authgroup
\
csd_wrapper
\
form_entry
\
interface
\
juniper
\
mtu
\
os
\
password
\
password2
\
port
\
server
\
serverhash
\
token_mode
\
token_script
\
token_secret
\
usergroup
\
username
\
grep -q tun /proc/modules
||
insmod tun
ifname
=
"
vpn-
$config
"
Write
Preview
Loading…
Cancel
Save