luci-app-passwall: sync upstream

last commit: 96135707cc
This commit is contained in:
actions 2024-05-08 14:30:05 +08:00
parent 3ea3adb8e6
commit 63ffcf0f4e
2 changed files with 3 additions and 3 deletions

View File

@ -105,8 +105,8 @@ function show_menu()
end end
function hide_menu() function hide_menu()
ucic:set(appname, "@global[0]", "hide_from_luci","1") uci:set(appname, "@global[0]", "hide_from_luci","1")
ucic:commit(appname) uci:commit(appname)
luci.sys.call("rm -rf /tmp/luci-*") luci.sys.call("rm -rf /tmp/luci-*")
luci.sys.call("/etc/init.d/rpcd restart >/dev/null") luci.sys.call("/etc/init.d/rpcd restart >/dev/null")
luci.http.redirect(luci.dispatcher.build_url("admin", "status", "overview")) luci.http.redirect(luci.dispatcher.build_url("admin", "status", "overview"))

View File

@ -11,7 +11,7 @@ index 1fb70f5..e1a5538 100644
include $(TOPDIR)/feeds/luci/luci.mk include $(TOPDIR)/feeds/luci/luci.mk
diff --git a/luci-app-passwall/luasrc/controller/passwall.lua b/luci-app-passwall/luasrc/controller/passwall.lua diff --git a/luci-app-passwall/luasrc/controller/passwall.lua b/luci-app-passwall/luasrc/controller/passwall.lua
index 9b6f6c0..1c91506 100644 index 1920a9c..ba7116c 100644
--- a/luci-app-passwall/luasrc/controller/passwall.lua --- a/luci-app-passwall/luasrc/controller/passwall.lua
+++ b/luci-app-passwall/luasrc/controller/passwall.lua +++ b/luci-app-passwall/luasrc/controller/passwall.lua
@@ -250,7 +250,7 @@ function connect_status() @@ -250,7 +250,7 @@ function connect_status()