* Added index.html redirector
This commit is contained in:
parent
080d926497
commit
95e9f0dbcd
2 changed files with 11 additions and 0 deletions
10
contrib/index.html
Normal file
10
contrib/index.html
Normal file
|
@ -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>
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue