Changeset 7005
- Timestamp:
- 04/28/11 11:27:00 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/applications/luci-vnstat/luasrc/model/cbi/vnstat.lua
r6735 r7005 38 38 local iface 39 39 40 for iface in fs.dir(dbdir) do 41 if iface:sub(1,1) ~= '.' then 42 ifaces[iface] = iface 43 enabled[iface] = iface 40 if fs.access(dbdir) then 41 for iface in fs.dir(dbdir) do 42 if iface:sub(1,1) ~= '.' then 43 ifaces[iface] = iface 44 enabled[iface] = iface 45 end 44 46 end 45 47 end
