luci app frpc: ajust order

This commit is contained in:
coolsnowwolf 2019-04-19 11:18:34 +08:00
parent bfe704cfc8
commit bcbe4750d4
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ LUCI_TITLE:=LuCI for FRPC
LUCI_DEPENDS:=+wget +frpc
LUCI_PKGARCH:=all
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_RELEASE:=2
include $(TOPDIR)/feeds/luci/luci.mk

View File

@ -5,10 +5,11 @@ function index()
return
end
entry({"admin","services","frp"},cbi("frp/frp"), _("Frp Setting"),5).dependent=true
entry({"admin","services","frp"},cbi("frp/frp"), _("Frp Setting"),100).dependent=true
entry({"admin","services","frp","config"},cbi("frp/config")).leaf=true
entry({"admin","services","frp","status"},call("status")).leaf=true
end
function status()
local e={}
e.running=luci.sys.call("pidof frpc > /dev/null")==0