summaryrefslogtreecommitdiffstats
path: root/tmp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-06-16 07:33:12 -0500
committerRenato Botelho <garga@FreeBSD.org>2015-06-16 07:34:13 -0500
commit0ab90dd0741782c0bf5ed3d2a13a8b6d977c8109 (patch)
tree4c8ca5167432fd38d6815a38dad165ce3e2c3709 /tmp
parent6d85358c9480d871f043dacf52525ece154b0544 (diff)
downloadpfsense-0ab90dd0741782c0bf5ed3d2a13a8b6d977c8109.zip
pfsense-0ab90dd0741782c0bf5ed3d2a13a8b6d977c8109.tar.gz
Check also for old FreeBSD release versions
Diffstat (limited to 'tmp')
-rw-r--r--tmp/pre_upgrade_command2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command
index 5547b70..435b3dc 100644
--- a/tmp/pre_upgrade_command
+++ b/tmp/pre_upgrade_command
@@ -13,7 +13,7 @@ echo $PRIOR_VERSION > /tmp/pre_upgrade_version
/usr/bin/sed -i '' 's/^\(\/.*[[:space:]]*\/[[:space:]]*ufs[[:space:]]*\)rw\([[:space:]]*[[:digit:]][[:space:]]*[[:digit:]]\)$/\1rw,sync\2/' /etc/fstab
# Hack to workaround ticket #3749
-if [ "${PRIOR_VERSION}" = "8" ] && grep -q 'sh /etc/rc.reboot' /etc/rc.firmware; then
+if [ ${PRIOR_VERSION} -le 8 ] && grep -q 'sh /etc/rc.reboot' /etc/rc.firmware; then
PROC=$(ps axwww | grep '/etc/rc.firmware *pfSenseupgrade')
PID=''
IMG=''
OpenPOWER on IntegriCloud