diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-29 21:28:13 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-29 21:28:13 -0400 |
commit | d226535c8e82ab04e2190a218b0982ecba410ef7 (patch) | |
tree | 1c04d163bb37ba7b4651ca6736af380ff1818e8f /etc/rc.firmware | |
parent | d2fdbd6f5102f647144c42fdc904aa8ce72b1dbd (diff) | |
download | pfsense-d226535c8e82ab04e2190a218b0982ecba410ef7.zip pfsense-d226535c8e82ab04e2190a218b0982ecba410ef7.tar.gz |
Add bit when restoring for diagnostics
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 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 |