summaryrefslogtreecommitdiffstats
path: root/usr/local/share/pfSense/post_upgrade_command
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-17 17:09:35 -0300
committerRenato Botelho <renato@netgate.com>2015-08-17 17:09:35 -0300
commitdf275cbe714453f3e4cd53f9fa30e6cb528df3a5 (patch)
treebe728ca97eab74c4e4bf302241000a43a78cd2b8 /usr/local/share/pfSense/post_upgrade_command
parentc1367bd11624c866a2d166136c80dc0eda32e1ed (diff)
downloadpfsense-df275cbe714453f3e4cd53f9fa30e6cb528df3a5.zip
pfsense-df275cbe714453f3e4cd53f9fa30e6cb528df3a5.tar.gz
Use new base.mtree installed by upcoming core package
Diffstat (limited to 'usr/local/share/pfSense/post_upgrade_command')
-rwxr-xr-xusr/local/share/pfSense/post_upgrade_command4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/share/pfSense/post_upgrade_command b/usr/local/share/pfSense/post_upgrade_command
index a9e3e57..097bc5c 100755
--- a/usr/local/share/pfSense/post_upgrade_command
+++ b/usr/local/share/pfSense/post_upgrade_command
@@ -30,13 +30,13 @@ fi
rm -f /root/*.md5 >/dev/null 2>&1
# Fixup permissions on installed files
-if [ -f ${ROOT}etc/installed_filesystem.mtree ]; then
+if [ -f ${ROOT}usr/local/share/pfSense/base.mtree ]; then
if [ -x "/tmp/mtree.old" ]; then
MTREE_BIN=/tmp/mtree.old
else
MTREE_BIN=/usr/sbin/mtree
fi
- ${MTREE_BIN} -U -e -q -f ${ROOT}etc/installed_filesystem.mtree -p ${ROOT} > /conf/mtree.log
+ ${MTREE_BIN} -U -e -q -f ${ROOT}usr/local/share/pfSense/base.mtree -p ${ROOT} > /conf/mtree.log
fi
# Make sure to preserve existing time zone
OpenPOWER on IntegriCloud