summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-07-03 16:56:13 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-07-03 16:56:13 -0400
commitd5c182eb21e6ca234528f3bd4c298221163f15a5 (patch)
tree3db43522d3b1e05acc47acdbe8e7004a7d8d4f56 /etc/rc.firmware
parent2802e3d7f7df04192bbeeac3013e390d0c83e256 (diff)
downloadpfsense-d5c182eb21e6ca234528f3bd4c298221163f15a5.zip
pfsense-d5c182eb21e6ca234528f3bd4c298221163f15a5.tar.gz
Use COMPLETE_PATH
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index 61b25a0..7bbfde0 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -208,7 +208,7 @@ pfSenseNanoBSDupgrade)
# Stream gzipped image to dd and explode image to new area
echo "" >> /cf/upgrade_log.txt
echo "/usr/bin/gzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=16k" >> /cf/upgrade_log.txt
- /usr/bin/gzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=16k >> /cf/upgrade_log.txt 2>&1
+ /usr/bin/gzcat $IMG | /bin/dd of=/dev/${COMPLETE_PATH} bs=16k >> /cf/upgrade_log.txt 2>&1
# Ensure that our new system is sound and bail if it is not and file a notice
echo "" >> /cf/upgrade_log.txt
OpenPOWER on IntegriCloud