From a094d47c5b98eee28e010df67a100dbb434d7d01 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 13 Nov 2009 16:26:53 -0500 Subject: Patch from Ron Lockard that fixed restore_chflags due to a STDOUT redirection issue --- etc/rc.firmware | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/rc.firmware b/etc/rc.firmware index be25aa0..4105f75 100755 --- a/etc/rc.firmware +++ b/etc/rc.firmware @@ -59,7 +59,7 @@ output_env_to_log() { backup_chflags() { TOPROCESS="bin lib libexec sbin usr" for files in $TOPROCESS; do - /usr/sbin/mtree -Pcp /${files} | bzip2 -9 > /tmp/chflags.dist.${files}.bz2 >> /conf/upgrade_log.txt 2>&1 + /usr/sbin/mtree -Pcp /${files} | bzip2 -9 > /tmp/chflags.dist.${files}.bz2 2>> /conf/upgrade_log.txt done } @@ -160,7 +160,7 @@ pfSenseNanoBSDupgrade) echo "" >> /conf/upgrade_log.txt echo "Installing $IMG." >> /conf/upgrade_log.txt 2>&1 - echo "Installing $IMG." >> /conf/upgrade_log.txt + echo "Installing $IMG." | wall # resolve glabel label that we booted from BOOT_DEVICE=`/sbin/mount | /usr/bin/grep pfsense | /usr/bin/cut -d'/' -f4 | /usr/bin/cut -d' ' -f1` @@ -383,7 +383,7 @@ pfSenseupgrade) # wait 1 seconds before beginning sleep 1 - # Log that we are really doing a NanoBSD upgrade + # Log that we are really doing a pfSense upgrade echo "" >> /conf/upgrade_log.txt echo "pfSenseupgrade upgrade starting" >> /conf/upgrade_log.txt echo "" >> /conf/upgrade_log.txt -- cgit v1.1