projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
meshwizard: remove local variable definitions outside functions
[project/luci.git]
/
contrib
/
package
/
meshwizard
/
files
/
usr
/
bin
/
meshwizard
/
helpers
/
setup_olsrd.sh
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
index
d212ca4
..
01a9387
100755
(executable)
--- a/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
+++ b/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
@@
-4,7
+4,7
@@
. /lib/functions.sh
. $dir/functions.sh
-
local
protocols="4"
+protocols="4"
if [ "$ipv6_enabled" = 1 ] && [ "$has_ipv6" == "1" ]; then
protocols="4 6"
fi