diff options
author | Manuel Munz <freifunk@somakoma.de> | 2012-09-19 06:28:58 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2012-09-19 06:28:58 +0000 |
commit | 3154ffa3b7ba296662b0d54579df22bb88a2ff7d (patch) | |
tree | 8672021ea69e7a4bfe58c58b7e0ddc72e325e7ee /contrib/package/meshwizard/files/usr | |
parent | 386fa7a674f077d54d48955cb1bbd969c632c8a8 (diff) |
contrib/meshwizard: allow to parse values which contain '='
Diffstat (limited to 'contrib/package/meshwizard/files/usr')
-rw-r--r-- | contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh index c9f7ee7fd1..8abdf9f0e7 100644 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh @@ -27,7 +27,7 @@ set_defaults() { for def in $(env |grep "^$1" | sed 's/ /_/g'); do option="${def/$1/}" a="$(echo $option |cut -d '=' -f1)" - b="$(echo $option |cut -d '=' -f2)" + b="$(echo $option |cut -d '=' -f2-)" b="${b//_/ }" uci set $2.$a="$b" done |