mirror of
				https://github.com/kenzok8/openwrt-packages.git
				synced 2025-10-30 07:50:37 +08:00 
			
		
		
		
	update 2025-06-03 14:28:37
This commit is contained in:
		| @ -8,12 +8,12 @@ | ||||
| include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=ddns-go | ||||
| PKG_VERSION:=6.9.4 | ||||
| PKG_VERSION:=6.9.5 | ||||
| PKG_RELEASE:=1 | ||||
|  | ||||
| PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||||
| PKG_SOURCE_URL:=https://codeload.github.com/jeessy2/ddns-go/tar.gz/v$(PKG_VERSION)? | ||||
| PKG_HASH:=9430183bc24261060d1ff3353d6d9d1543a608f50d931953d64956629aaa67fe | ||||
| PKG_HASH:=b84ef5cfe1db70dee2f15e58e396407625d8a2ce3582ab414608ac7fd2200d90 | ||||
|  | ||||
| PKG_LICENSE:=MIT | ||||
| PKG_LICENSE_FILES:=LICENSE | ||||
|  | ||||
| @ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart | ||||
| LUCI_DEPENDS:=+quickstart +luci-app-store | ||||
| LUCI_PKGARCH:=all | ||||
|  | ||||
| PKG_VERSION:=0.8.17-r1 | ||||
| PKG_VERSION:=0.8.17-r2 | ||||
| # PKG_RELEASE MUST be empty for luci.mk | ||||
| PKG_RELEASE:= | ||||
|  | ||||
|  | ||||
| @ -4,9 +4,14 @@ module("luci.controller.quickstart", package.seeall) | ||||
|  | ||||
| function index() | ||||
|     if luci.sys.call("pgrep quickstart >/dev/null") == 0 then | ||||
|         local uci = require "luci.model.uci".cursor() | ||||
|         entry({"admin", "quickstart"}, template("quickstart/home"), _("QuickStart"), 1).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 uci:get("quickstart", "main", "wifi_menu") == "1" then | ||||
|             entry({"admin", "quickwifi"}, call("quickwifi_index"), _("Wireless"), 3) | ||||
|             entry({"admin", "quickwifi", "pages"}, call("quickstart_index", {index={"admin", "quickwifi", "pages"}})).leaf = true | ||||
|         end | ||||
|         if nixio.fs.access("/usr/lib/lua/luci/view/quickstart/main_dev.htm") then | ||||
|             entry({"admin", "quickstart_dev"}, call("quickstart_dev", {index={"admin", "quickstart_dev"}})).leaf = true | ||||
|         end | ||||
| @ -26,6 +31,10 @@ function networkguide_index() | ||||
|     luci.http.redirect(luci.dispatcher.build_url("admin", "network_guide", "pages", "network")) | ||||
| end | ||||
|  | ||||
| function quickwifi_index() | ||||
|     luci.http.redirect(luci.dispatcher.build_url("admin", "quickwifi", "pages", "quickwifi")) | ||||
| end | ||||
|  | ||||
| function redirect_fallback() | ||||
|     luci.http.redirect(luci.dispatcher.build_url("admin", "status")) | ||||
| end | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 actions-user
					actions-user