summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model/cbi
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-30 19:25:31 +0000
committerSteven Barth <steven@midlink.org>2008-03-30 19:25:31 +0000
commit1bf67dcd798e6edc859e74c77b194928d7f63fbe (patch)
tree8df67a3ac9228a72daac8149d16c075ad9686038 /src/ffluci/model/cbi
parent9b4e269bea4db2e75d3d33757a53d2ab89bf05bf (diff)
* Moved exec, execl from ffluci.util to ffluci.sys
* Introduced stub for ffluci.model.ipkg
Diffstat (limited to 'src/ffluci/model/cbi')
-rw-r--r--src/ffluci/model/cbi/admin_wifi/devices.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ffluci/model/cbi/admin_wifi/devices.lua b/src/ffluci/model/cbi/admin_wifi/devices.lua
index 7ef794c7e4..0b1b9a2ffe 100644
--- a/src/ffluci/model/cbi/admin_wifi/devices.lua
+++ b/src/ffluci/model/cbi/admin_wifi/devices.lua
@@ -1,5 +1,4 @@
-- ToDo: Translate, Add descriptions and help texts
-require("ffluci.util")
m = Map("wireless", "Geräte")
@@ -16,8 +15,9 @@ t:value("atheros")
t:value("mac80211")
t:value("prism2")
--[[
+require("ffluci.sys")
local c = ". /etc/functions.sh;for i in /lib/wifi/*;do . $i;done;echo $DRIVERS"
-for driver in ffluci.util.execl(c)[1]:gmatch("[^ ]+") do
+for driver in ffluci.sys.execl(c)[1]:gmatch("[^ ]+") do
t:value(driver)
end
]]--