From: Yousong Zhou Date: Thu, 27 Aug 2020 04:10:04 +0000 (+0800) Subject: openconnect: break each var into its own line in order X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fce2b069df766646798d1bac4ccd69d0d44b9d0c;p=feed%2Fpackages.git openconnect: break each var into its own line in order For easier review Signed-off-by: Yousong Zhou --- diff --git a/net/openconnect/files/openconnect.sh b/net/openconnect/files/openconnect.sh index 0efa444186..97d90cb727 100755 --- a/net/openconnect/files/openconnect.sh +++ b/net/openconnect/files/openconnect.sh @@ -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"