diff options
author | Steven Barth <steven@midlink.org> | 2008-03-30 19:25:31 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-30 19:25:31 +0000 |
commit | 1bf67dcd798e6edc859e74c77b194928d7f63fbe (patch) | |
tree | 8df67a3ac9228a72daac8149d16c075ad9686038 /src/ffluci/controller | |
parent | 9b4e269bea4db2e75d3d33757a53d2ab89bf05bf (diff) |
* Moved exec, execl from ffluci.util to ffluci.sys
* Introduced stub for ffluci.model.ipkg
Diffstat (limited to 'src/ffluci/controller')
-rw-r--r-- | src/ffluci/controller/admin/uci.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ffluci/controller/admin/uci.lua b/src/ffluci/controller/admin/uci.lua index 9f8c124996..3c9fc87395 100644 --- a/src/ffluci/controller/admin/uci.lua +++ b/src/ffluci/controller/admin/uci.lua @@ -1,4 +1,6 @@ module("ffluci.controller.admin.uci", package.seeall) +require("ffluci.util") +require("ffluci.sys") -- This function has a higher priority than the admin_uci/apply template function action_apply() @@ -24,7 +26,7 @@ function action_apply() for k, v in pairs(apply) do local cmd = ffluci.config.uci_oncommit[k] if cmd then - output = output .. cmd .. ":" .. ffluci.util.exec(cmd) + output = output .. cmd .. ":" .. ffluci.sys.exec(cmd) end end end |