From 7d03f8ea8a5edf72b708a8a4f45346048274fae6 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 8 Jun 2008 08:14:31 +0000 Subject: * Core translation * Added license headers * Splitted qos into separate application package --- applications/luci-olsr/luasrc/controller/olsr.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applications/luci-olsr') 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" -- cgit v1.2.3