* Mördercommit ;-)
[project/luci.git] / module / admin-core / src / controller / splash / splash.lua
diff --git a/module/admin-core/src/controller/splash/splash.lua b/module/admin-core/src/controller/splash/splash.lua
deleted file mode 100644 (file)
index 62088be..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-module("ffluci.controller.splash.splash", package.seeall)
-
-function action_activate()
-       local mac = ffluci.sys.net.ip4mac(ffluci.http.env.REMOTE_ADDR)
-       if mac and ffluci.http.formvalue("accept") then
-               os.execute("luci-splash add "..mac.." >/dev/null 2>&1")
-               ffluci.http.redirect(ffluci.model.uci.get("freifunk", "community", "homepage"))
-       else
-               ffluci.http.redirect(ffluci.dispatcher.build_url())
-       end
-end
-
-function action_accepted()
-       ffluci.http.redirect(ffluci.dispatcher.build_url())
-end
-
-function action_unknown()
-       ffluci.http.redirect(ffluci.dispatcher.build_url())
-end
\ No newline at end of file