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_lan_ipv6.sh
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_lan_ipv6.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_lan_ipv6.sh
index
2f6144b
..
1b4f9b1
100755
(executable)
--- a/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_lan_ipv6.sh
+++ b/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_lan_ipv6.sh
@@
-7,10
+7,10
@@
# Setup IPv6 for the lan interface
# Setup IPv6 for the lan interface
-
local
ip6addr=""
+ip6addr=""
if [ "$ipv6_config" = "auto-ipv6-dhcpv6" ]; then
# get lan mac
if [ "$ipv6_config" = "auto-ipv6-dhcpv6" ]; then
# get lan mac
-
local
device="$(uci -p/var/state -q get network.lan.ifname)"
+ device="$(uci -p/var/state -q get network.lan.ifname)"
if [ -n "device" ]; then
ip6addr="$($dir/helpers/gen_auto-ipv6-dhcpv6-ip.sh $device)"
fi
if [ -n "device" ]; then
ip6addr="$($dir/helpers/gen_auto-ipv6-dhcpv6-ip.sh $device)"
fi