mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-07 07:06:41 +08:00
luci-app-nps: code alignment
This commit is contained in:
parent
0dcdc40007
commit
6ea63a0560
@ -6,7 +6,7 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
LUCI_TITLE:=LuCI for Nps
|
||||
LUCI_TITLE:=LuCI support for Nps
|
||||
LUCI_DEPENDS:=+wget +npc
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
module("luci.controller.nps",package.seeall)
|
||||
module("luci.controller.nps", package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/nps") then
|
||||
|
@ -2,7 +2,7 @@ m = Map("nps")
|
||||
m.title = translate("Nps Penetrate")
|
||||
m.description = translate("Nps is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.")
|
||||
|
||||
m:section(SimpleSection).template = "nps/nps_status"
|
||||
m:section(SimpleSection).template = "nps/nps_status"
|
||||
|
||||
s = m:section(TypedSection, "nps")
|
||||
s.addremove = false
|
||||
|
@ -65,4 +65,3 @@ start_service() {
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "nps"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user