diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 15:08:17 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 15:08:17 -0400 |
commit | b80c897548d2a03ae0027025ac95aff354e5c5a2 (patch) | |
tree | 652efc41908b7de0d88af69261aa08c328145848 /etc | |
parent | b404776012caf06acfc4f54e50651f8e19b220e1 (diff) | |
download | pfsense-b80c897548d2a03ae0027025ac95aff354e5c5a2.zip pfsense-b80c897548d2a03ae0027025ac95aff354e5c5a2.tar.gz |
Rename nanobsd firmware .bz2
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.initial.firmware_update | 3 |
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"; |