diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-08-13 20:56:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-13 20:56:58 +0200 |
commit | 09e0519fca7ac3bbb6d391ca5c04a1735ee1d49f (patch) | |
tree | c8335f441360edad4fb27cf8c4aa3be6ce7184f5 | |
parent | 0ee6b1c8f76fb9b0dd8d82a3e4e3c48e51c21ef7 (diff) | |
parent | 47a36e0af9e8054bbeb4320f1a0e85f1c9ecbeba (diff) |
Merge pull request #1294 from aparcar/model
luci-app-attendedsysupgrade: send model info
-rw-r--r-- | applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm b/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm index 9160674e5..ea97e9a51 100644 --- a/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm +++ b/applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm @@ -90,6 +90,7 @@ function setup() { ubus_request("packagelist", "list", '{ }', "packagelist") ubus_request("system", "board", '{ }', "release") ubus_request("system", "board", '{ }', "board_name") + ubus_request("system", "board", '{ }', "model") ubus_request("uci", "get", '{"config": "attendedsysupgrade", "section": "@settings[0]", "option": "update_server"}', "update_server") } @@ -188,6 +189,7 @@ function image_request() { request_dict.version = latest_version; request_dict.board = data.board_name request_dict.packages = data.packages; + request_dict.model = data.model server_request(request_dict, "image-request", image_request_handler) } |