summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-luci/hostfiles/usr/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-06-11 13:33:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-06-11 13:33:03 +0000
commite4be3f94a0adf6c77e4c080c8b7180b31fa5836b (patch)
treec5ed192ef2bcfb8534f41aaf3faa86ddcde9b5c6 /libs/sgi-luci/hostfiles/usr/lib
parent7043c30e0e55bbbfacdddf97619b6bae96d20ddb (diff)
build: remove abandonned sgi libraries
Diffstat (limited to 'libs/sgi-luci/hostfiles/usr/lib')
-rw-r--r--libs/sgi-luci/hostfiles/usr/lib/lucittpd/plugins/luci-webui.lua29
1 files changed, 0 insertions, 29 deletions
diff --git a/libs/sgi-luci/hostfiles/usr/lib/lucittpd/plugins/luci-webui.lua b/libs/sgi-luci/hostfiles/usr/lib/lucittpd/plugins/luci-webui.lua
deleted file mode 100644
index 073e567c0a..0000000000
--- a/libs/sgi-luci/hostfiles/usr/lib/lucittpd/plugins/luci-webui.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-function initialize()
- pcall(function()
- local SYSROOT = os.getenv("LUCI_SYSROOT")
- require "uci"
- require "luci.model.uci".cursor = function(config, save)
- return uci.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci")
- end
-
- local x = require "luci.uvl".UVL.__init__
- require "luci.uvl".UVL.__init__ = function(self, schemedir)
- x(self, schemedir or SYSROOT .. "/lib/uci/schema")
- end
-
- require("luci.sys")
- luci.sys.user.checkpasswd = function() return true end
-
- require "luci.dispatcher"
- require "luci.uvl"
- require "luci.cbi"
- require "luci.template"
- require "luci.json"
- end)
-end
-
--- Initialize LuCI
-function register()
- local lucihnd = require "luci.ttpd.handler.luci"
- httpd.server:get_default_vhost():set_handler("/luci", lucihnd.Luci())
-end \ No newline at end of file