mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-09 04:15:47 +00:00
base-files: sysupgrade: Allow downloading of firmware images using HTTPS
Currently it's only possible to download images over HTTP. Signed-off-by: Petr Štetiar <ynezz@true.cz> (backported from 7c104a83589c3e3fbfdfda2ef68b8695f57dde75)
This commit is contained in:
parent
0340d3ad2d
commit
f7a97a21f7
@ -204,7 +204,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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user