diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-13 16:27:06 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-13 22:26:06 -0500 |
commit | d2307ffb56c8dcec16bff72ba6b0626a60a0652d (patch) | |
tree | 2bca42efe8db9e0293510138aea40276d28a687d | |
parent | fe126e77734a8bcb365e3b115fb7d2060c415ef9 (diff) | |
download | pfsense-d2307ffb56c8dcec16bff72ba6b0626a60a0652d.zip pfsense-d2307ffb56c8dcec16bff72ba6b0626a60a0652d.tar.gz |
Patch from Ron Lockard that fixed restore_chflags due to a STDOUT redirection issue
-rwxr-xr-x | etc/rc.firmware | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 52817e4..ce4bf3f 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` @@ -385,7 +385,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 |