summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.initial.firmware_update3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update
index 68cce86..2ddc69e 100755
--- a/etc/rc.initial.firmware_update
+++ b/etc/rc.initial.firmware_update
@@ -94,7 +94,8 @@ switch ($command) {
$type = "nanobsd";
}
if(file_exists("/root/firmware.tgz")) {
- do_upgrade("/root/firmware.tgz", $type);
+ exec("mv /root/firmware.tgz /root/firmware.bz2");
+ do_upgrade("/root/firmware.bz2", $type);
exit;
} else {
echo "\nCould not download update.\n\n";
OpenPOWER on IntegriCloud