summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-05 18:09:04 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-05 18:09:04 -0400
commitac2bed30fb326e79194c1c56daf0b4ebd57043d1 (patch)
tree5e460fd5752112ae2046af19e012d8fe5ee1da8c /etc/rc.firmware
parent081db683b593d29c63708eec3ea8ddce492bdeb2 (diff)
downloadpfsense-ac2bed30fb326e79194c1c56daf0b4ebd57043d1.zip
pfsense-ac2bed30fb326e79194c1c56daf0b4ebd57043d1.tar.gz
Use obs and gzip -dc
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware4
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
OpenPOWER on IntegriCloud