diff options
Diffstat (limited to 'applications/luci-olsr')
-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 24159b7cc..d795dc4ed 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" |