diff options
author | Paul Spooren <paul@spooren.de> | 2017-11-05 21:52:11 +0100 |
---|---|---|
committer | Paul Spooren <spooren@informatik.uni-leipzig.de> | 2017-11-12 03:09:33 +0100 |
commit | 4891deaf94eb1c98a9a8b993ebcd1987538643f4 (patch) | |
tree | ace132afe0827cbd92bbfaaa0190871a6ecd04e3 /applications/luci-app-attendedsysupgrade/root | |
parent | ede51e4641b1053e214d294e06a935e0b2bcf09a (diff) |
luci-app-attendedsysupgrade: use common
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>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root')
-rw-r--r-- | applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json index 85d6e94a2..97aa81492 100644 --- a/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json +++ b/applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json @@ -3,23 +3,26 @@ "description": "attended sysupgrade via rpcd and luci", "read": { "ubus": { - "attendedsysupgrade": [ - "sysupgrade" + "rpc-sys": [ + "upgrade_start" ], "system": [ "board" ], "uci": [ - "get" + "get", "set", "commit" ] }, "uci": [ - "*" + "attendedsysupgrade" ] }, "write": { "cgi-io": [ "upload" + ], + "uci": [ + "attendedsysupgrade" ] } } |