Merge pull request #1539 from user7887/luci-ru
[project/luci.git] / applications / luci-app-mmc-over-gpio / luasrc / controller / mmc_over_gpio.lua
1 -- Copyright 2008 Yanira <forum-2008@email.de>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.controller.mmc_over_gpio", package.seeall)
5
6 function index()
7         if not nixio.fs.access("/etc/config/mmc_over_gpio") then
8                 return
9         end
10
11         local page
12
13         page = entry({"admin", "system", "mmc_over_gpio"}, cbi("mmc_over_gpio"), _("MMC/SD driver configuration"), 60)
14         page.dependent = true
15 end