• R/O
  • HTTP
  • SSH
  • HTTPS

luci: Commit

LuCI - OpenWrt Configuration Interface


Commit MetaInfo

Revision18692887e504d9d4854c5f47e3176e45b4e40e88 (tree)
Time2022-11-25 01:02:27
AuthorTianling Shen <cnsztl@immo...>
CommiterTianling Shen

Log Message

luci-app-turboacc: add missing exec permission to rpcd script

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Change Summary

Incremental Difference

--- a/applications/luci-app-turboacc/Makefile
+++ b/applications/luci-app-turboacc/Makefile
@@ -40,7 +40,7 @@ define Package/luci-app-turboacc/config
4040 bool "Use fast classifier"
4141
4242 config PACKAGE_TURBOACC_INCLUDE_SHORTCUT_FE_CM
43- bool "Use SFE connection manager"
43+ bool "Use shortcut-fe connection manager"
4444 endchoice
4545
4646 config PACKAGE_TURBOACC_INCLUDE_BBR_CCA
--- a/applications/luci-app-turboacc/root/usr/libexec/rpcd/luci.turboacc
+++ b/applications/luci-app-turboacc/root/usr/libexec/rpcd/luci.turboacc
@@ -37,9 +37,8 @@ local methods = {
3737 fptype = "Fast classifier"
3838 elseif fs.stat("/sys/module/shortcut_fe_cm", "type") == "dir" then
3939 fptype = "Shortcut-FE CM"
40- elseif fs.access("/sys/kernel/debug/hnat/hnat_version") then
41- local hnat_ver = readfile("/sys/kernel/debug/hnat/hnat_version")
42- fptype = string.format("MediaTek HNAT (%s)", hnat_ver)
40+ elseif fs.stat("/sys/kernel/debug/hnat", "type") == "dir" then
41+ fptype = "MediaTek HNAT"
4342 end
4443 print(json.stringify({ type = fptype }))
4544 end
Show on old repository browser