diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2009-06-30 12:39:58 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2009-06-30 12:39:58 -0300 |
commit | d44d94c5c51c7bd7c6de810abfe0c3266cf947b1 (patch) | |
tree | 5a7d19a393b8c424e6f39295a7b8dfcb39c2fd22 | |
parent | a8ced10b3602043c723123fecd83b4da61a204ec (diff) | |
download | pfsense-d44d94c5c51c7bd7c6de810abfe0c3266cf947b1.zip pfsense-d44d94c5c51c7bd7c6de810abfe0c3266cf947b1.tar.gz |
Fix nanobsd update detection
-rwxr-xr-x | etc/rc.initial.firmware_update | 4 |
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'); |