diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-11-09 08:25:41 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 17:22:07 +0100 |
commit | f7a97a21f77bcc339c5b5d75d426c428324be6b8 (patch) | |
tree | 534db992d9fefc7dfe47f6c990231f36a23e30ec /package/base-files/files | |
parent | 0340d3ad2d1b6bdc9c58e242d987dd92a98d0db1 (diff) | |
download | upstream-f7a97a21f77bcc339c5b5d75d426c428324be6b8.tar.gz upstream-f7a97a21f77bcc339c5b5d75d426c428324be6b8.tar.bz2 upstream-f7a97a21f77bcc339c5b5d75d426c428324be6b8.zip |
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)
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 3637943117..b75bd097f3 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -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 ;; |