summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-03-11 17:46:54 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-03-11 17:46:54 -0300
commit830ceadf0225bfcd0a2c98fb8091e7deefa6dc8a (patch)
tree37c36e194efa5f167a3678c2b6e6a2f535304d5a
parentb33f69c4c074cb6906d56ed81fa557d2aa317658 (diff)
downloadpfsense-830ceadf0225bfcd0a2c98fb8091e7deefa6dc8a.zip
pfsense-830ceadf0225bfcd0a2c98fb8091e7deefa6dc8a.tar.gz
Remove -U from mtree call used to restore files permissions, this is replacing symlink targets by the old values. Ticket #4328
-rwxr-xr-xetc/rc.firmware2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware
index bde99db..8d87a77 100755
--- a/etc/rc.firmware
+++ b/etc/rc.firmware
@@ -66,7 +66,7 @@ backup_chflags() {
restore_chflags() {
TOPROCESS="bin lib libexec sbin usr"
for files in $TOPROCESS; do
- cd / && /usr/bin/bzcat /tmp/chflags.dist.${files}.bz2 | /usr/sbin/mtree -PU -p /${files} >> /conf/upgrade_log.txt 2>&1
+ cd / && /usr/bin/bzcat /tmp/chflags.dist.${files}.bz2 | /usr/sbin/mtree -P -p /${files} >> /conf/upgrade_log.txt 2>&1
done
}
OpenPOWER on IntegriCloud