summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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