meshwizard: ipv6 fixes, fix uhttpd setup
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_dnsmasq.sh
index 59b7f845b0c5bc734bcd568ea963939e3fc29a11..9297f9175edcbf9f25bc9f399039886cad38d346 100755 (executable)
@@ -21,7 +21,7 @@ EOF
 config_get addnhosts dnsmasq addnhosts
 if [ -z "${addnhosts/\var\/etc\/hosts.olsr/}" ]; then
        uci add_list dhcp.dnsmasq.addnhosts="/var/etc/hosts.olsr"
-       if [ "$profile_ipv6" = 1 ]; then
+       if [ "$ipv6_enabled" = 1 ]; then
                uci add_list dhcp.dnsmasq.addnhosts="/var/etc/hosts.olsr.ipv6"
        fi
 fi