From: Paul Spooren Date: Sun, 5 Nov 2017 20:52:11 +0000 (+0100) Subject: luci-app-attendedsysupgrade: use common X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=4891deaf94eb1c98a9a8b993ebcd1987538643f4 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 --- diff --git a/applications/luci-app-attendedsysupgrade/Makefile b/applications/luci-app-attendedsysupgrade/Makefile index 8d7a6163d..dbb572bd2 100644 --- a/applications/luci-app-attendedsysupgrade/Makefile +++ b/applications/luci-app-attendedsysupgrade/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=LuCI support for attended sysupgrades -LUCI_DEPENDS:=+luci-base +uhttpd-mod-ubus +rpcd-mod-attendedsysupgrade +LUCI_DEPENDS:=+luci-base +uhttpd-mod-ubus +attendedsysupgrade-common +cgi-io include ../../luci.mk diff --git a/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm b/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm index e1f715daa..847ad5cfb 100644 --- a/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm +++ b/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm @@ -98,23 +98,61 @@ +
- +