summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-mmc-over-gpio
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-mmc-over-gpio')
-rw-r--r--applications/luci-mmc-over-gpio/Makefile4
-rw-r--r--applications/luci-mmc-over-gpio/ipkg/postinst6
-rw-r--r--applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua27
-rw-r--r--applications/luci-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua41
-rwxr-xr-xapplications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio11
5 files changed, 0 insertions, 89 deletions
diff --git a/applications/luci-mmc-over-gpio/Makefile b/applications/luci-mmc-over-gpio/Makefile
deleted file mode 100644
index 3f031cb713..0000000000
--- a/applications/luci-mmc-over-gpio/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-PO = mmc_over_gpio
-
-include ../../build/config.mk
-include ../../build/module.mk
diff --git a/applications/luci-mmc-over-gpio/ipkg/postinst b/applications/luci-mmc-over-gpio/ipkg/postinst
deleted file mode 100644
index 6d18799af9..0000000000
--- a/applications/luci-mmc-over-gpio/ipkg/postinst
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-[ -n "${IPKG_INSTROOT}" ] || {
- ( . /etc/uci-defaults/luci-mmc-over-gpio ) && rm -f /etc/uci-defaults/luci-mmc-over-gpio
- /etc/init.d/mmc_over_gpio enabled || /etc/init.d/mmc_over_gpio enable
- exit 0
-}
diff --git a/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua b/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua
deleted file mode 100644
index b9984cb89b..0000000000
--- a/applications/luci-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua
+++ /dev/null
@@ -1,27 +0,0 @@
---[[
-
-LuCI mmc_over_gpio
-(c) 2008 Yanira <forum-2008@email.de>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-
-]]--
-
-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
diff --git a/applications/luci-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua b/applications/luci-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua
deleted file mode 100644
index 04d356c193..0000000000
--- a/applications/luci-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua
+++ /dev/null
@@ -1,41 +0,0 @@
---[[
-
-LuCI mmc_over_gpio
-(c) 2008 Yanira <forum-2008@email.de>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-$Id$
-
-]]--
-
-m = Map("mmc_over_gpio", translate("MMC/SD driver configuration"),
- translate("MMC/SD driver configuration"))
-
-s = m:section(TypedSection, "mmc_over_gpio", translate("Settings"))
-s.addremove = true
-s.anonymous = true
-
-s:option(Flag, "enabled", translate("Enable"))
-
-s:option(Value, "name", translate("Name"))
-
-pin = s:option(Value, "DI_pin", translate("DI_pin"))
-for i = 0,7 do pin:value(i) end
-
-pin = s:option(Value, "DO_pin", translate("DO_pin"))
-for i = 0,7 do pin:value(i) end
-
-pin = s:option(Value, "CLK_pin", translate("CLK_pin"))
-for i = 0,7 do pin:value(i) end
-
-pin = s:option(Value, "CS_pin", translate("CS_pin"))
-for i = 0,7 do pin:value(i) end
-
-s:option(Value, "mode", translate("Mode"))
-
-return m
diff --git a/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio b/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio
deleted file mode 100755
index c6e79e60d4..0000000000
--- a/applications/luci-mmc-over-gpio/root/etc/uci-defaults/luci-mmc-over-gpio
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@mmc_over_gpio[-1]
- add ucitrack mmc_over_gpio
- set ucitrack.@mmc_over_gpio[-1].init=mmc_over_gpio
- commit ucitrack
-EOF
-
-rm -f /tmp/luci-indexcache
-exit 0