'How to change config file path , m = Map(“this file path”) openWRT LuCI

cbi_file path is /etc/config i wanted to change path to etc/ only

m = Map("cbi_file", translate("First Tab Form"), translate("Please fill out the form below"))

i updated uci.lua file but its not working

function get_confdir(self)
return "/etc"
end


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source