summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua
blob: 78ed24f8b688d2e54a7371f8c45502fb254f34d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Copyright 2008 Yanira <forum-2008@email.de>
-- Licensed to the public under the Apache License 2.0.

module("luci.controller.mmc_over_gpio", package.seeall)

function index()
	if not nixio.fs.access("/etc/config/mmc_over_gpio") then
		return
	end

	local page

	page = entry({"admin", "system", "mmc_over_gpio"}, cbi("mmc_over_gpio"), _("MMC/SD driver configuration"), 60)
	page.dependent = true
end