summaryrefslogtreecommitdiffstats
path: root/etc/rc.initial.firmware_update
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-07-30 10:52:31 -0300
committerRenato Botelho <renato@netgate.com>2015-07-30 12:21:18 -0300
commit687631c68391223ea98c21f1e5ff46c297310236 (patch)
treef29ac6d87e9919c607f23ce151f7b6a89c036f03 /etc/rc.initial.firmware_update
parent488b975c8b4ff0d33eb2dc8668983ca4c888b334 (diff)
downloadpfsense-687631c68391223ea98c21f1e5ff46c297310236.zip
pfsense-687631c68391223ea98c21f1e5ff46c297310236.tar.gz
Remove bdiff support
Diffstat (limited to 'etc/rc.initial.firmware_update')
-rwxr-xr-xetc/rc.initial.firmware_update12
1 files changed, 2 insertions, 10 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update
index bd1d16f..5e17924 100755
--- a/etc/rc.initial.firmware_update
+++ b/etc/rc.initial.firmware_update
@@ -109,10 +109,7 @@ switch ($command) {
echo "\nsha256 checksum matches.\n";
unlink_if_exists("/root/firmware.tgz.sha256");
}
- if (strstr($url, "bdiff")) {
- echo "Binary DIFF upgrade file detected...\n";
- $type = "bdiff";
- } elseif (strstr($url, "nanobsd")) {
+ if (strstr($url, "nanobsd")) {
echo "NanoBSD upgrade file detected...\n";
$type = "nanobsd";
} else {
@@ -129,9 +126,6 @@ switch ($command) {
fclose($fp);
die;
}
- if (stristr($path, "bdiff")) {
- $type = "bdiff";
- }
if (stristr($path, "nanobsd")) {
$type = "nanobsd";
}
@@ -175,9 +169,7 @@ function do_upgrade($path, $type) {
}
mark_subsystem_dirty('firmwarelock');
echo "\nOne moment please...\nInvoking firmware upgrade...";
- if ($type == "bdiff") {
- mwexec_bg("/etc/rc.firmware delta_update $path");
- } elseif ($type == "nanobsd") {
+ if ($type == "nanobsd") {
mwexec_bg("/etc/rc.firmware pfSenseNanoBSDupgrade $path");
} else {
mwexec_bg("/etc/rc.firmware pfSenseupgrade $path");
OpenPOWER on IntegriCloud