summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-29 21:28:13 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-29 21:28:13 -0400
commitd226535c8e82ab04e2190a218b0982ecba410ef7 (patch)
tree1c04d163bb37ba7b4651ca6736af380ff1818e8f /etc/rc.firmware
parentd2fdbd6f5102f647144c42fdc904aa8ce72b1dbd (diff)
downloadpfsense-d226535c8e82ab04e2190a218b0982ecba410ef7.zip
pfsense-d226535c8e82ab04e2190a218b0982ecba410ef7.tar.gz
Add bit when restoring for diagnostics
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 f40193b..2a5d5da 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -212,8 +212,8 @@ pfSenseNanoBSDupgrade)
# Ensure that our new system is sound and bail if it is not and file a notice
echo "" >> /cf/upgrade_log.txt
- echo "/sbin/fsck_ffs -n /dev/$COMPLETE_PATH" >> /cf/upgrade_log.txt
- /sbin/fsck_ffs -n /dev/$COMPLETE_PATH >> /cf/upgrade_log.txt 2>&1
+ echo "/sbin/fsck_ffs -y /dev/$COMPLETE_PATH" >> /cf/upgrade_log.txt
+ /sbin/fsck_ffs -y /dev/$COMPLETE_PATH >> /cf/upgrade_log.txt 2>&1
if [ $? != 0 ]; then
file_notice "UpgradeFailure" "{\$g['product_name']} upgrade has failed. Your system has been left in a usable state."
rm /var/run/firmware.lock
OpenPOWER on IntegriCloud