aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-11-09 08:25:41 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-11-25 19:26:50 +0100
commit7c104a83589c3e3fbfdfda2ef68b8695f57dde75 (patch)
tree12bcaca418e2ea2cc7de214062b4ba61a4268d8d /package/base-files/files
parent7ef38e42c8440a29d1dc721a9e6184b2e369bc2f (diff)
downloadupstream-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/base-files/files')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade3
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
;;