diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 18:09:04 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-05 18:09:04 -0400 |
commit | ac2bed30fb326e79194c1c56daf0b4ebd57043d1 (patch) | |
tree | 5e460fd5752112ae2046af19e012d8fe5ee1da8c /etc/rc.firmware | |
parent | 081db683b593d29c63708eec3ea8ddce492bdeb2 (diff) | |
download | pfsense-ac2bed30fb326e79194c1c56daf0b4ebd57043d1.zip pfsense-ac2bed30fb326e79194c1c56daf0b4ebd57043d1.tar.gz |
Use obs and gzip -dc
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 890f5f4..0926fa9 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -228,8 +228,8 @@ pfSenseNanoBSDupgrade) # Stream gzipped image to dd and explode image to new area echo "" >> /conf/upgrade_log.txt - echo "/usr/bin/bzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=64k" >> /conf/upgrade_log.txt - /usr/bin/bzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=64k >> /conf/upgrade_log.txt 2>&1 + echo "/usr/bin/gzip -dc $IMG | /bin/dd of=/dev/${TOFLASH} obs=64k" >> /conf/upgrade_log.txt + /usr/bin/gzip -dc $IMG | /bin/dd of=/dev/${TOFLASH} obs=64k >> /conf/upgrade_log.txt 2>&1 # Grab a after upgrade look at fdisk echo "" >> /conf/upgrade_log.txt |