mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add system upgrade via interface
This commit is contained in:
parent
14db6f80fb
commit
34cf70ae30
9 changed files with 619 additions and 1 deletions
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"sysupgrade": {
|
||||
"description": "sysupgrade via rpcd and luci",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"rpc-sys": [
|
||||
"upgrade_start",
|
||||
"packagelist"
|
||||
],
|
||||
"system": [
|
||||
"board",
|
||||
"info"
|
||||
],
|
||||
"openmptcprouter": [
|
||||
"rootfs"
|
||||
],
|
||||
"uci": [
|
||||
"get", "set", "commit"
|
||||
]
|
||||
},
|
||||
"uci": [
|
||||
"sysupgrade"
|
||||
]
|
||||
},
|
||||
"write": {
|
||||
"cgi-io": [
|
||||
"upload"
|
||||
],
|
||||
"uci": [
|
||||
"sysupgrade"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue