local default_schemedir = "/lib/uci/schema"
+local default_savedir = "/tmp/.uvl"
local ERR = luci.uvl.errors
return so:error(ERR.SME_READ(so,file))
end
- local uci = luci.model.uci.cursor()
- uci:set_confdir( luci.fs.dirname(file) )
+ local uci = luci.model.uci.cursor( luci.fs.dirname(file), default_savedir )
local sd, err = uci:get_all( luci.fs.basename(file) )