How to change resolvfile name in LuCI (19.07.1) via uci command?


First I fixed the LuCI bug by running this command:

sed -i -e "s#depends('noresolv','')#depends('noresolv','0')#" /www/luci-static/resources/view/network/dhcp.js

Now when I try to change resolvfile name manually, over:

uci set dhcp.@dnsmasq[0].resolvfile="/etc/resolv.conf"
/etc/init.d/dnsmasq restart

Then the resolvfile name is not changed in LuCI.

Can anyone help?

Best regards


uci commit is missing.

1 Like

thx @fantom-x.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.