1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2021-01-16 08:15:54 +01:00
parent 14db6f80fb
commit 34cf70ae30
9 changed files with 619 additions and 1 deletions

View file

@ -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"
]
}
}
}