diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-03-11 17:46:54 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-03-11 17:47:05 -0300 |
commit | b6c04ed8382e9f889c110db2b3f56e528970261c (patch) | |
tree | 5dbc23ec965ad2e6b08ab27fe372ef761b2ebc90 /etc/rc.firmware | |
parent | c8a4eb4056a0a7927716830b11f22447e15a4f8f (diff) | |
download | pfsense-b6c04ed8382e9f889c110db2b3f56e528970261c.zip pfsense-b6c04ed8382e9f889c110db2b3f56e528970261c.tar.gz |
Remove -U from mtree call used to restore files permissions, this is replacing symlink targets by the old values. Ticket #4328
Diffstat (limited to 'etc/rc.firmware')
-rwxr-xr-x | etc/rc.firmware | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.firmware b/etc/rc.firmware index 3912291..c7a92aa 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 } |