diff options
author | Steven Barth <steven@midlink.org> | 2008-06-08 08:14:31 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-08 08:14:31 +0000 |
commit | 7d03f8ea8a5edf72b708a8a4f45346048274fae6 (patch) | |
tree | 5e043f366b4db2b02d3389b09e5699c485c57bc8 /applications/luci-olsr/luasrc/controller | |
parent | 09ecbe73ed51cdbbb204f323ad9207505680cd94 (diff) |
* Core translation
* Added license headers
* Splitted qos into separate application package
Diffstat (limited to 'applications/luci-olsr/luasrc/controller')
-rw-r--r-- | applications/luci-olsr/luasrc/controller/olsr.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-olsr/luasrc/controller/olsr.lua b/applications/luci-olsr/luasrc/controller/olsr.lua index 24159b7cc4..d795dc4ed6 100644 --- a/applications/luci-olsr/luasrc/controller/olsr.lua +++ b/applications/luci-olsr/luasrc/controller/olsr.lua @@ -1,6 +1,10 @@ module("luci.controller.olsr", package.seeall) function index() + if not luci.fs.isfile("/etc/config/olsr") then + return + end + local page = node("admin", "status", "olsr") page.target = call("action_index") page.title = "OLSR" |