diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-11-09 08:25:41 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-11-25 19:26:50 +0100 |
commit | 7c104a83589c3e3fbfdfda2ef68b8695f57dde75 (patch) | |
tree | 12bcaca418e2ea2cc7de214062b4ba61a4268d8d /package | |
parent | 7ef38e42c8440a29d1dc721a9e6184b2e369bc2f (diff) | |
download | upstream-7c104a83589c3e3fbfdfda2ef68b8695f57dde75.tar.gz upstream-7c104a83589c3e3fbfdfda2ef68b8695f57dde75.tar.bz2 upstream-7c104a83589c3e3fbfdfda2ef68b8695f57dde75.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>
Diffstat (limited to 'package')
-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 3cebfb68e0..f42974360c 100755 --- 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 ;; |