Remove Lua dependency from LuCI integration

This commit is contained in:
kzolotarev95 committed 2026-06-28 22:35:45 +04:00
1 parent bdd16d3c22
commit d049e272ec
9 files changed
+338 -236

No files matched your search

@@ -3,11 +3,13 @@
"title": "OpenWrt Full Backup",
"order": 90,
"action": {
"type": "call",
"module": "luci.controller.owrt_full_backup",
"function": "action_open"
"type": "view",
"path": "owrt_full_backup"
},
"depends": {
"acl": [
"luci-app-owrt-full-backup"
],
"fs": {
"/www/cgi-bin/owrt-full-backup": "executable"
}
@@ -0,0 +1,17 @@
{
"luci-app-owrt-full-backup": {
"description": "Grant access to OpenWrt Full Backup LuCI helper",
"read": {
"ubus": {
"file": [
"read"
]
},
"file": {
"/etc/owrt-full-backup/web.key": [
"read"
]
}
}
}
}