X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=core%2Fsrc%2Fffluci%2Fmodel%2Fuci.lua;h=ca5b232eb37ebd21a76ca2c058e5ebc1464a60b6;hp=511c97433db97d976c1d10a061b3658503ac6404;hb=6a1fee5115cdf047a29812dcf81b03edeefccb15;hpb=522c6c928e36db9b5243681fb16f751451ad473a diff --git a/core/src/ffluci/model/uci.lua b/core/src/ffluci/model/uci.lua index 511c97433..ca5b232eb 100644 --- a/core/src/ffluci/model/uci.lua +++ b/core/src/ffluci/model/uci.lua @@ -25,6 +25,9 @@ limitations under the License. ]]-- module("ffluci.model.uci", package.seeall) +-- Default savedir +savedir = "/tmp/.uci" + -- Test whether to load libuci-Wrapper or /sbin/uci-Wrapper if pcall(require, "uci") then Session = require("ffluci.model.uci.libuci").Session @@ -53,7 +56,6 @@ function changes(...) return default:changes(...) end - -- Wrapper for "uci commit" function commit(...) return default:commit(...)