summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-28 00:10:48 +0000
committerSteven Barth <steven@midlink.org>2008-03-28 00:10:48 +0000
commit95e9f0dbcd218d453d263a0a885a3177a708abda (patch)
tree2aea819d3ca54c95c34b76cbcae188fec22810ff /contrib
parent080d926497657c6828d73fc27f10bd0a4d98d260 (diff)
* Added index.html redirector
Diffstat (limited to 'contrib')
-rw-r--r--contrib/index.html10
-rw-r--r--contrib/package/ffluci/Makefile1
2 files changed, 11 insertions, 0 deletions
diff --git a/contrib/index.html b/contrib/index.html
new file mode 100644
index 000000000..2c2446496
--- /dev/null
+++ b/contrib/index.html
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="refresh" content="0; URL=/cgi-bin/index.cgi" />
+</head>
+<body>
+<a href="/cgi-bin/index.cgi">FFLuCI</a>
+</body>
+</html> \ No newline at end of file
diff --git a/contrib/package/ffluci/Makefile b/contrib/package/ffluci/Makefile
index f57a5da79..04093a974 100644
--- a/contrib/package/ffluci/Makefile
+++ b/contrib/package/ffluci/Makefile
@@ -40,6 +40,7 @@ define Package/ffluci/install
$(CP) $(PKG_BUILD_DIR)/contrib/media $(1)/www/ffluci/ -R
$(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/ffluci $(1)/www/cgi-bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/index.cgi $(1)/www/cgi-bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/contrib/index.html $(1)/www
$(CP) $(PKG_BUILD_DIR)/contrib/ffluci.uci $(1)/etc/config/luci
$(CP) -a ./ipkg/ffluci.postinst $(1)/CONTROL/postinst
$(CP) -a ./ipkg/conffiles $(1)/CONTROL/conffiles