summaryrefslogtreecommitdiffstats
path: root/etc/rc.firmware
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-13 16:26:53 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-13 22:26:14 -0500
commita094d47c5b98eee28e010df67a100dbb434d7d01 (patch)
tree1afae56fcc92ceee2f667b5959bc08dbebe7af44 /etc/rc.firmware
parente979cfc6ba6370556b3602b7ac43bf27e82bb1df (diff)
downloadpfsense-a094d47c5b98eee28e010df67a100dbb434d7d01.zip
pfsense-a094d47c5b98eee28e010df67a100dbb434d7d01.tar.gz
Patch from Ron Lockard that fixed restore_chflags due to a STDOUT redirection issue
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-xetc/rc.firmware6
1 files 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
OpenPOWER on IntegriCloud