summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-07-03 23:11:11 -0500
committerChris Buechler <cmb@pfsense.org>2015-07-03 23:11:47 -0500
commitaaf07882420615ae130de4e8da3671fe1a75d632 (patch)
tree2f042b92307ec04ec1110de6b389c4fbdf725b7d /tmp
parentf5aec3e13c438a25afcda67b3a0c9f166627944c (diff)
downloadpfsense-aaf07882420615ae130de4e8da3671fe1a75d632.zip
pfsense-aaf07882420615ae130de4e8da3671fe1a75d632.tar.gz
de-activate sync on upgrade where it's enabled now that the root passwd/group problem is fixed. Ticket #4523
Diffstat (limited to 'tmp')
-rw-r--r--tmp/pre_upgrade_command6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command
index 5bfd891..2ad365f 100644
--- a/tmp/pre_upgrade_command
+++ b/tmp/pre_upgrade_command
@@ -6,11 +6,11 @@
PRIOR_VERSION=`uname -r | cut -d'.' -f1`
echo $PRIOR_VERSION > /tmp/pre_upgrade_version
-# Activate sync on root filesystem. See ticket #4523
+# De-activate sync on root filesystem. See ticket #4523
# Back up original fstab
/bin/cp /etc/fstab /etc/fstab.orig
-# Activate sync on the root slice only. This will not match NanoBSD since it already has sync,noatime
-/usr/bin/sed -i '' 's/^\(\/.*[[:space:]]*\/[[:space:]]*ufs[[:space:]]*\)rw\([[:space:]]*[[:digit:]][[:space:]]*[[:digit:]]\)$/\1rw,sync\2/' /etc/fstab
+# De-activate sync on the root slice only. This will not match NanoBSD since it already has sync,noatime
+/usr/bin/sed -i '' 's/^\(\/.*[[:space:]]*\/[[:space:]]*ufs[[:space:]]*\)rw,sync\([[:space:]]*[[:digit:]][[:space:]]*[[:digit:]]\)$/\1rw\2/' /etc/fstab
# Hack to workaround ticket #3749
if [ ${PRIOR_VERSION} -le 8 ] && grep -q 'sh /etc/rc.reboot' /etc/rc.firmware; then
OpenPOWER on IntegriCloud