summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-26 15:21:14 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-26 15:21:14 -0400
commitdf5ffcf66080b19b0aaf63e61a7a178515e4f515 (patch)
tree0be07f172011d86fc32bc8595590bf3b5b7e2ecf /etc/rc.firmware
parent99760ae608f85359c4e18ce41189525f78ee2d05 (diff)
downloadpfsense-df5ffcf66080b19b0aaf63e61a7a178515e4f515.zip
pfsense-df5ffcf66080b19b0aaf63e61a7a178515e4f515.tar.gz
When running fsck_ffs to check the validity of the upgrade, check ${TOFLASH}a
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 69d95d3..9c88386 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -196,7 +196,7 @@ pfSenseNanoBSDupgrade)
#>/dev/null 2>&1
# Ensure that our new system is sound and bail if it is not and file a notice
- /sbin/fsck_ffs -n /dev/${TOFLASH}
+ /sbin/fsck_ffs -n /dev/${TOFLASH}a
if [ $? != 0 ]; then
/usr/local/bin/php -q -d auto_prepend_file=config.inc <<ENDOFF
<?php
OpenPOWER on IntegriCloud