]]--
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
return default:changes(...)
end
-
-- Wrapper for "uci commit"
function commit(...)
return default:commit(...)