openconnect: break each var into its own line in order
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 27 Aug 2020 04:10:04 +0000 (12:10 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 27 Aug 2020 05:59:35 +0000 (13:59 +0800)
For easier review

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/openconnect/files/openconnect.sh

index 0efa4441861e0ef2317dbdd9e66233083d95528c..97d90cb7270b9c43b5788240dcd94d92c00a2c88 100755 (executable)
@@ -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"