use attendedsysupgrade-common package and rpc-sys instead of rpcd-mod-attendedsysupgrade luci-app-attendedsysupgrade: editable server url the server url can now be changed. The solution is kept as simple as possible to not introduce any lua code. Small cleanup, but needs a refactoring. Add acl rights to edit the attendedsysupgrade file Add cgi-io as a dependencie to upload image to router Signed-off-by: Paul Spooren <paul@spooren.de>
29 lines
389 B
JSON
29 lines
389 B
JSON
{
|
|
"attendedsysupgrade": {
|
|
"description": "attended sysupgrade via rpcd and luci",
|
|
"read": {
|
|
"ubus": {
|
|
"rpc-sys": [
|
|
"upgrade_start"
|
|
],
|
|
"system": [
|
|
"board"
|
|
],
|
|
"uci": [
|
|
"get", "set", "commit"
|
|
]
|
|
},
|
|
"uci": [
|
|
"attendedsysupgrade"
|
|
]
|
|
},
|
|
"write": {
|
|
"cgi-io": [
|
|
"upload"
|
|
],
|
|
"uci": [
|
|
"attendedsysupgrade"
|
|
]
|
|
}
|
|
}
|
|
}
|