contrib/meshwizard: Only setup 6and4 for olsrd if ipv6 is available
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / wizard.sh
index 859d5ff6b6285fdc760c1741149f981c660f0dbd..f159268d3e5e91646688606123069576e9a0ec79 100755 (executable)
@@ -18,7 +18,7 @@ echo "
 # config
 export dir="/usr/bin/meshwizard"
 . $dir/functions.sh
-[ -f /proc/net/ipv6_route ] && has_ipv6=1
+[ -f /proc/net/ipv6_route ] && export has_ipv6=1
 
 # Check which packages we have installed
 export has_luci=FALSE