mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 20:45:13 +08:00
🌈 Sync 2026-08-18 23:16:22
This commit is contained in:
1 parent
5064f4b6bb
commit
eeacb31e8e
14 files changed
+1941
-4
No files matched your search
@@ -0,0 +1,15 @@
|
||||
-- AuthShield LuCI Controller
|
||||
-- Registers the CBI configuration page under System → AuthShield.
|
||||
|
||||
module("luci.controller.authshield", package.seeall)
|
||||
|
||||
function index()
|
||||
-- Only register the menu if the config file exists
|
||||
if not nixio.fs.access("/etc/config/authshield") then return end
|
||||
|
||||
-- System → AuthShield
|
||||
entry({"admin", "system", "authshield"},
|
||||
cbi("authshield"),
|
||||
_("AuthShield"),
|
||||
60).dependent = true
|
||||
end
|
||||
Reference in new issue
Block a user