mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add luci-proto-modemmanager to add puk code and display device in Network->Interfaces
This commit is contained in:
parent
307d22341f
commit
6511494f1c
6 changed files with 489 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/status/modemmanager": {
|
||||
"title": "Cellular Network",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "modemmanager/status"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-proto-modemmanager" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"luci-proto-modemmanager": {
|
||||
"description": "Grant access to mmcli",
|
||||
"read": {
|
||||
"cgi-io": [ "exec" ],
|
||||
"file": {
|
||||
"/usr/bin/mmcli -L -J": [ "exec" ],
|
||||
"/usr/bin/mmcli -m [0-9]* -J": [ "exec" ],
|
||||
"/usr/bin/mmcli -i [0-9]* -J": [ "exec" ],
|
||||
"/usr/bin/mmcli -m [0-9]* --location-get -J": [ "exec" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue