diff options
-rwxr-xr-x | etc/rc.initial.firmware_update | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update index a1b4445..3853c2b 100755 --- a/etc/rc.initial.firmware_update +++ b/etc/rc.initial.firmware_update @@ -89,7 +89,9 @@ switch ($command) { exec("rm -f /root/*.md5"); } if(stristr($url,"bdiff")) - $type = "bdiff"; + $type = "bdiff"; + if(stristr($url,"bdiff")) + $type = "nanobsd"; if(file_exists("/root/firmware.tgz")) { do_upgrade("/root/firmware.tgz", $type); exit; @@ -108,6 +110,8 @@ switch ($command) { } if(stristr($fp,"bdiff")) $type = "bdiff"; + if(stristr($fp,"bdiff")) + $type = "nanobsd"; if(file_exists($path)) { touch($d_fwupenabled_path); do_upgrade($path, $type); |