projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef38e4
)
base-files: sysupgrade: Allow downloading of firmware images using HTTPS
author
Petr Štetiar
<ynezz@true.cz>
Fri, 9 Nov 2018 07:25:41 +0000
(08:25 +0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 25 Nov 2018 18:26:50 +0000
(19:26 +0100)
Currently it's only possible to download images over HTTP.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/base-files/files/sbin/sysupgrade
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/sysupgrade
b/package/base-files/files/sbin/sysupgrade
index 3cebfb68e06a838f2dac8e3dda28e27ea3418df3..f42974360cfdcdd439a86736af27f49e032daba6 100755
(executable)
--- a/
package/base-files/files/sbin/sysupgrade
+++ b/
package/base-files/files/sbin/sysupgrade
@@
-203,7
+203,8
@@
type platform_check_image >/dev/null 2>/dev/null || {
}
case "$IMAGE" in
- http://*)
+ http://*|\
+ https://*)
wget -O/tmp/sysupgrade.img "$IMAGE"
IMAGE=/tmp/sysupgrade.img
;;