Remove Lua dependency from LuCI integration
This commit is contained in:
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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user