summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2009-06-30 12:39:58 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2009-06-30 12:39:58 -0300
commitd44d94c5c51c7bd7c6de810abfe0c3266cf947b1 (patch)
tree5a7d19a393b8c424e6f39295a7b8dfcb39c2fd22
parenta8ced10b3602043c723123fecd83b4da61a204ec (diff)
downloadpfsense-d44d94c5c51c7bd7c6de810abfe0c3266cf947b1.zip
pfsense-d44d94c5c51c7bd7c6de810abfe0c3266cf947b1.tar.gz
Fix nanobsd update detection
-rwxr-xr-xetc/rc.initial.firmware_update4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update
index cdbaa9b..68cce86 100755
--- a/etc/rc.initial.firmware_update
+++ b/etc/rc.initial.firmware_update
@@ -89,7 +89,7 @@ switch ($command) {
echo "Binary DIFF upgrade file detected...\n";
$type = "bdiff";
}
- if(strstr($url,"bdiff")) {}
+ if(strstr($url,"nanobsd")) {}
echo "NanoBSD upgrade file detected...\n";
$type = "nanobsd";
}
@@ -110,7 +110,7 @@ switch ($command) {
}
if(stristr($fp,"bdiff"))
$type = "bdiff";
- if(stristr($fp,"bdiff"))
+ if(stristr($fp,"nanobsd"))
$type = "nanobsd";
if(file_exists($path)) {
mark_subsystem_dirty('firmware');
OpenPOWER on IntegriCloud