From: Petr Štetiar Date: Fri, 9 Nov 2018 07:25:41 +0000 (+0100) Subject: base-files: sysupgrade: Allow downloading of firmware images using HTTPS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c104a83589c3e3fbfdfda2ef68b8695f57dde75;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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 ;;