git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
386fa7a
)
contrib/meshwizard: allow to parse values which contain '='
author
Manuel Munz
<redacted>
Wed, 19 Sep 2012 06:28:58 +0000
(06:28 +0000)
committer
Manuel Munz
<redacted>
Wed, 19 Sep 2012 06:28:58 +0000
(06:28 +0000)
contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh
patch
|
blob
|
history
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh
index c9f7ee7fd12afad82560b3db45f41712c068ad8f..8abdf9f0e772bb4fe20dcd24c56fe70116c733f5 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT