mmc_over_gpio.lua 403 B

123456789101112131415
  1. -- Copyright 2008 Yanira <forum-2008@email.de>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.mmc_over_gpio", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/mmc_over_gpio") then
  6. return
  7. end
  8. local page
  9. page = entry({"admin", "system", "mmc_over_gpio"}, cbi("mmc_over_gpio"), _("MMC/SD driver configuration"), 60)
  10. page.dependent = true
  11. end