mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-29 15:45:13 +08:00
sync
This commit is contained in:
1 parent
4140b8f037
commit
95ac96413e
10 files changed
+810
-1
No files matched your search
@@ -0,0 +1,38 @@
|
||||
--- a/luci-app-quickstart/Makefile
|
||||
+++ b/luci-app-quickstart/Makefile
|
||||
@@ -6,7 +6,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=LuCI support for quickstart
|
||||
-LUCI_DEPENDS:=+quickstart +luci-app-store
|
||||
+LUCI_DEPENDS:=+quickstart +luci-app-ttyd
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
# PKG_RELEASE MUST be empty for luci.mk
|
||||
|
||||
--- a/luci-app-quickstart/luasrc/controller/quickstart.lua
|
||||
+++ b/luci-app-quickstart/luasrc/controller/quickstart.lua
|
||||
@@ -5,7 +5,7 @@ module("luci.controller.quickstart", package.seeall)
|
||||
function index()
|
||||
entry({"admin", "nas"}, firstchild(), _("NAS") , 45).dependent = false
|
||||
if luci.sys.call("pgrep quickstart >/dev/null") == 0 then
|
||||
- entry({"admin", "quickstart"}, template("quickstart/home"), _("QuickStart"), 1).leaf = true
|
||||
+ entry({"admin", "quickstart"}, template("quickstart/home")).leaf = true
|
||||
entry({"admin", "network_guide"}, call("networkguide_index"), _("NetworkGuide"), 2)
|
||||
entry({"admin", "network_guide", "pages"}, call("quickstart_index", {index={"admin", "network_guide", "pages"}})).leaf = true
|
||||
if nixio.fs.access("/usr/lib/lua/luci/view/quickstart/main_dev.htm") then
|
||||
|
||||
--- a/luci-app-quickstart/root/usr/share/luci/menu.d/luci-app-quickstart.json
|
||||
+++ /dev/null
|
||||
@@ -1,10 +0,0 @@
|
||||
-{
|
||||
- "admin/quickstart/*": {
|
||||
- "title": "QuickStart",
|
||||
- "order": 1,
|
||||
- "action": {
|
||||
- "type": "template",
|
||||
- "path": "quickstart/home"
|
||||
- }
|
||||
- }
|
||||
-}
|
||||
\ No newline at end of file
|
||||
Reference in new issue
Block a user