Skip to content

Instantly share code, notes, and snippets.

@jim-p
Created February 17, 2016 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jim-p/50b27e337253fa437502 to your computer and use it in GitHub Desktop.
Save jim-p/50b27e337253fa437502 to your computer and use it in GitHub Desktop.
diff --git a/download/mirror.php b/download/mirror.php
index 44b681a..71cce50 100644
--- a/download/mirror.php
+++ b/download/mirror.php
@@ -277,9 +277,9 @@ if (!$this_cc) {
Platform:
<select name="platform">
<option value="">Select</option>
- <option value="livecd">Live CD with Installer</option>
- <option value="memstick">Live CD with Installer (on USB Memstick)</option>
- <option value="nanobsd">Embedded (NanoBSD) typically with CF</option>
+ <option value="installer">CD/DVD ISO Installer Image</option>
+ <option value="memstick">USB Memstick Installer</option>
+ <option value="nanobsd">Embedded (NanoBSD) typically with CF or SD</option>
</select>
</label>
diff --git a/download/scripts/mirror.js b/download/scripts/mirror.js
index 4d8a035..e79c82b 100644
--- a/download/scripts/mirror.js
+++ b/download/scripts/mirror.js
@@ -64,8 +64,8 @@ jQuery(function ($) {
if (arch !== "") {
if (PFSENSE_SECTION === "downloads") {
- if (platform === "livecd") {
- file = "pfSense-LiveCD-{version}-RELEASE-{arch}.iso.gz";
+ if (platform === "installer") {
+ file = "pfSense-{version}-RELEASE-{arch}.iso.gz";
} else if (platform === "memstick") {
if (memstickconsole === "vga") {
file = "pfSense-memstick-{version}-RELEASE-{arch}.img.gz";
@@ -83,7 +83,7 @@ jQuery(function ($) {
}
}
else if (PFSENSE_SECTION === "updates") {
- if (platform === "livecd" || platform === "memstick") {
+ if (platform === "installer" || platform === "memstick") {
file = "pfSense-Full-Update-{version}-RELEASE-{arch}.tgz";
} else if (platform === "nanobsd" && console !== "" && size !== "") {
if (console === "serial") {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment