From: Moritz Warning Date: Thu, 30 Jan 2020 01:03:41 +0000 (+0100) Subject: differentiate sd card images X-Git-Tag: v1.0.0~37 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6cd2fa895b8ac470135a04bb629d94d61c9e41e7;p=web%2Ffirmware-selector-openwrt-org.git differentiate sd card images --- diff --git a/www/index.html b/www/index.html index ee28c65..046d26b 100644 --- a/www/index.html +++ b/www/index.html @@ -49,6 +49,7 @@ KERNEL ROOTFS TFTP + SDCARD
@@ -57,6 +58,7 @@ Linux kernel as a separate image. Root file system as a separate image. Image that can be applied using the tftp meachnism of the boot loader + Image that is meant to be flashed on an SD-Card.
diff --git a/www/index.js b/www/index.js index 57365ab..d9e5006 100644 --- a/www/index.js +++ b/www/index.js @@ -167,12 +167,12 @@ function $(id) { } function extractImageType(name) { - var m = /-(sysupgrade|factory|rootfs|kernel|tftp)[-.]/.exec(name); + var m = /-(sysupgrade|factory|rootfs|kernel|tftp|sdcard)[-.]/.exec(name); return m ? m[1] : 'factory'; } function updateImages(dllink, model, target, release, commit, images) { - var types = ['sysupgrade', 'factory', 'rootfs', 'kernel', 'tftp']; + var types = ['sysupgrade', 'factory', 'rootfs', 'kernel', 'tftp', 'sdcard']; function hideLinks() { types.forEach(function(type) {